X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fglob.c;h=f20da84a455d02a1bf5da2baa08e66c3be3b330d;hp=827e0624e8ee140e1049f4e60a22c98197bba1e0;hb=94a49c8207277ec4017a0fb9a3cd8f1e61a518f6;hpb=394c8bec21d47b74567a4148fdbf87318c301441 diff --git a/fish/glob.c b/fish/glob.c index 827e062..f20da84 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]++;