X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Finspect.c;h=5e1948cd143bffeb0bea8c20c6403a6a635dd463;hp=713501e90c19669c672308d44ab66157d7e5219d;hb=4accf3197235300029d04d0ab637b66eaaf9f8df;hpb=0c60e4d9dd6549c2135699490ba8a9ec1dd50ab9 diff --git a/fish/inspect.c b/fish/inspect.c index 713501e..5e1948c 100644 --- a/fish/inspect.c +++ b/fish/inspect.c @@ -73,6 +73,12 @@ compare_keys (const void *p1, const void *p2) void inspect_mount (void) { + if (live) { + fprintf (stderr, _("%s: don't use --live and -i options together\n"), + program_name); + exit (EXIT_FAILURE); + } + inspect_do_decrypt (); char **roots = guestfs_inspect_os (g);