X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=fish%2Fglob.c;h=a8ac58abb52c07c18786e742ee30c520fef91326;hb=11d8dd84d475c89c7fff702e7f7ac5bf57971ac4;hp=827e0624e8ee140e1049f4e60a22c98197bba1e0;hpb=394c8bec21d47b74567a4148fdbf87318c301441;p=libguestfs.git 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]++;