From: Richard W.M. Jones Date: Fri, 24 Jul 2009 14:46:15 +0000 (+0100) Subject: guestfish -iv should print virt-inspector command (for debugging). X-Git-Tag: 1.0.65~22 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3082681cc661011c8745936cc8c05e6fa84e0b98;p=libguestfs.git guestfish -iv should print virt-inspector command (for debugging). --- diff --git a/fish/fish.c b/fish/fish.c index f5d538d..fdb2ba2 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -340,7 +340,9 @@ main (int argc, char *argv[]) if (!guestfs_get_autosync (g)) strcat (cmd, " -n"); - /*printf ("%s\n", cmd);*/ + if (verbose) + fprintf (stderr, + "guestfish -i: running virt-inspector command:\n%s\n", cmd); r = system (cmd); if (r == -1) {