summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fish/fish.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fish/fish.c b/fish/fish.c
index b46fd7e1..5e8a6e9e 100644
--- a/fish/fish.c
+++ b/fish/fish.c
@@ -276,8 +276,9 @@ main (int argc, char *argv[])
fprintf (stderr, _("guestfish: virt-inspector command too long for fixed-size buffer\n"));
exit (1);
}
- strcat (cmd, " ");
+ strcat (cmd, " '");
strcat (cmd, argv[optind]);
+ strcat (cmd, "'");
optind++;
}