git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca52399
)
Incorrect assignment on glob error path.
author
Richard W.M. Jones
<rjones@redhat.com>
Wed, 24 Jun 2009 08:56:34 +0000
(09:56 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 24 Jun 2009 08:56:34 +0000
(09:56 +0100)
fish/glob.c
patch
|
blob
|
history
diff --git
a/fish/glob.c
b/fish/glob.c
index
827e062
..
f20da84
100644
(file)
--- 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]++;