git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pclose: Fix other places where we only tested pclose == -1.
[libguestfs.git]
/
fish
/
fish.c
diff --git
a/fish/fish.c
b/fish/fish.c
index
923c6dd
..
4f1dfc9
100644
(file)
--- a/
fish/fish.c
+++ b/
fish/fish.c
@@
-878,7
+878,7
@@
execute_and_inline (const char *cmd, int global_exit_on_error)
free (line);
- if (pclose (pp)
== -1
) {
+ if (pclose (pp)
!= 0
) {
perror ("pclose");
return -1;
}