Incorrect assignment on glob error path.

This commit is contained in:
Richard W.M. Jones
2009-06-24 09:56:34 +01:00
parent ca5239918c
commit 94a49c8207

View File

@@ -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]++;