summaryrefslogtreecommitdiffstats
path: root/fish/time.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/time.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/time.c')
-rw-r--r--fish/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/time.c b/fish/time.c
index 931403f2..3a460492 100644
--- a/fish/time.c
+++ b/fish/time.c
@@ -39,7 +39,7 @@ run_time (const char *cmd, size_t argc, char *argv[])
gettimeofday (&start_t, NULL);
- if (issue_command (argv[0], &argv[1], NULL) == -1)
+ if (issue_command (argv[0], &argv[1], NULL, 0) == -1)
return -1;
gettimeofday (&end_t, NULL);