fish: With both '-x' and '-i', pass through '-x' to inferior process.
authorRichard Jones <rjones@redhat.com>
Wed, 12 May 2010 14:29:03 +0000 (15:29 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 12 May 2010 15:13:07 +0000 (16:13 +0100)
fish/fish.c

index 461f55b..75bc2cf 100644 (file)
@@ -405,6 +405,8 @@ main (int argc, char *argv[])
       strcat (cmd, " -v");
     if (!guestfs_get_autosync (g))
       strcat (cmd, " -n");
+    if (guestfs_get_trace (g))
+      strcat (cmd, " -x");
 
     if (verbose)
       fprintf (stderr,