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:
5dec784
)
appliance: Document pipe fds.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 20 Jul 2011 11:05:40 +0000
(12:05 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 20 Jul 2011 11:05:40 +0000
(12:05 +0100)
src/launch.c
patch
|
blob
|
history
diff --git
a/src/launch.c
b/src/launch.c
index
1a47363
..
a2a9bea
100644
(file)
--- a/
src/launch.c
+++ b/
src/launch.c
@@
-631,11
+631,13
@@
launch_appliance (guestfs_h *g)
close (wfd[1]);
close (rfd[0]);
+ /* Stdin. */
if (dup (wfd[0]) == -1) {
dup_failed:
perror ("dup failed");
_exit (EXIT_FAILURE);
}
+ /* Stdout. */
if (dup (rfd[1]) == -1)
goto dup_failed;