summaryrefslogtreecommitdiffstats
path: root/fish/glob.c
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-01-18 10:33:01 +0000
committerRichard W.M. Jones <rjones@redhat.com>2011-01-18 10:33:01 +0000
commit4bcb267a248977c6b044e18a72266d665102de30 (patch)
treef0d3db1749d4495a696dfdc278a3da560b54f981 /fish/glob.c
parentf6a21c1e0d44f9db409ce6583be7b5bc694767a8 (diff)
downloadlibguestfs-4bcb267a248977c6b044e18a72266d665102de30.tar.gz
libguestfs-4bcb267a248977c6b044e18a72266d665102de30.tar.xz
libguestfs-4bcb267a248977c6b044e18a72266d665102de30.zip
fish: Make exit_on_error into a completely local variable.
Note that 'time' and 'glob' (which both run subcommands) do not correctly pass the exit_on_error flag in the remote case. This is not a regression: the current code doesn't work either.
Diffstat (limited to 'fish/glob.c')
-rw-r--r--fish/glob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/glob.c b/fish/glob.c
index 509532b8..8250c138 100644
--- a/fish/glob.c
+++ b/fish/glob.c
@@ -144,7 +144,7 @@ glob_issue (char *cmd, size_t argc,
for (i = 1; i < argc; ++i)
argv[i] = globs[i][posn[i]];
- if (issue_command (argv[0], &argv[1], NULL) == -1)
+ if (issue_command (argv[0], &argv[1], NULL, 0) == -1)
*r = -1; /* ... but don't exit */
for (i = argc-1; i >= 1; --i) {