git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d296feb
)
guestfish -iv should print virt-inspector command (for debugging).
author
Richard W.M. Jones
<rjones@redhat.com>
Fri, 24 Jul 2009 14:46:15 +0000
(15:46 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Fri, 24 Jul 2009 14:46:15 +0000
(15:46 +0100)
fish/fish.c
patch
|
blob
|
history
diff --git
a/fish/fish.c
b/fish/fish.c
index
f5d538d
..
fdb2ba2
100644
(file)
--- 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) {