X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=fish%2Fglob.c;h=a8ac58abb52c07c18786e742ee30c520fef91326;hp=827e0624e8ee140e1049f4e60a22c98197bba1e0;hb=88da5cf8a32e683ed1d78419fcde609a389a2f65;hpb=394c8bec21d47b74567a4148fdbf87318c301441 diff --git a/fish/glob.c b/fish/glob.c index 827e062..a8ac58a 100644 --- a/fish/glob.c +++ b/fish/glob.c @@ -147,8 +147,8 @@ glob_issue (char *cmd, int argc, } printf ("\n"); - if (issue_command (argv[0], &argv[1]) == -1) - r = -1; /* ... but don't exit */ + if (issue_command (argv[0], &argv[1], NULL) == -1) + *r = -1; /* ... but don't exit */ for (i = argc-1; i >= 1; --i) { posn[i]++;