X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Finspect.c;h=5e1948cd143bffeb0bea8c20c6403a6a635dd463;hb=422678073bbd55053f020bc6743617792bb99d6b;hp=713501e90c19669c672308d44ab66157d7e5219d;hpb=0c60e4d9dd6549c2135699490ba8a9ec1dd50ab9;p=libguestfs.git 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);