diff options
-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]++; |