diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-06-24 09:56:34 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2009-06-24 09:56:34 +0100 |
commit | 94a49c8207277ec4017a0fb9a3cd8f1e61a518f6 (patch) | |
tree | 8eeec41aac7d221d3b40badf6fc86773b2629f3e /fish | |
parent | ca5239918ce6de45a694610a11678cadc20cf2fb (diff) | |
download | libguestfs-94a49c8207277ec4017a0fb9a3cd8f1e61a518f6.tar.gz libguestfs-94a49c8207277ec4017a0fb9a3cd8f1e61a518f6.tar.xz libguestfs-94a49c8207277ec4017a0fb9a3cd8f1e61a518f6.zip |
Incorrect assignment on glob error path.
Diffstat (limited to 'fish')
-rw-r--r-- | fish/glob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish/glob.c b/fish/glob.c index 827e0624..f20da84a 100644 --- a/fish/glob.c +++ b/fish/glob.c @@ -148,7 +148,7 @@ glob_issue (char *cmd, int argc, printf ("\n"); if (issue_command (argv[0], &argv[1]) == -1) - r = -1; /* ... but don't exit */ + *r = -1; /* ... but don't exit */ for (i = argc-1; i >= 1; --i) { posn[i]++; |