fish: With both '-x' and '-i', pass through '-x' to inferior process.
[libguestfs.git] / 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,