[Pkg-libvirt-commits] [libguestfs] 11/36: p2v: Make sure command is printed before running it.
Hilko Bengen
bengen at moszumanska.debian.org
Sun Nov 1 17:13:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag upstream/1.29.47
in repository libguestfs.
commit a716adac3589a339a3064bcf5e5cf33390309a14
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Wed Jun 10 14:04:49 2015 +0100
p2v: Make sure command is printed before running it.
This updates commit b45f6a04359b4b64256b7b21a04416fa772c9423.
---
p2v/kernel.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/p2v/kernel.c b/p2v/kernel.c
index 680bed1..c5d4045 100644
--- a/p2v/kernel.c
+++ b/p2v/kernel.c
@@ -249,8 +249,10 @@ run_command (int verbose, const char *stage, const char *command)
if (STREQ (command, ""))
return;
- if (verbose)
+ if (verbose) {
printf ("%s\n", command);
+ fflush (stdout);
+ }
r = system (command);
if (r == -1) {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list