appliance: Document pipe fds.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 20 Jul 2011 11:05:40 +0000 (12:05 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 20 Jul 2011 11:05:40 +0000 (12:05 +0100)
src/launch.c

index 1a47363..a2a9bea 100644 (file)
@@ -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;