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]
/
generator
/
generator_capitests.ml
diff --git
a/generator/generator_capitests.ml
b/generator/generator_capitests.ml
index
963ed51
..
2cad2ae
100644
(file)
--- a/
generator/generator_capitests.ml
+++ b/
generator/generator_capitests.ml
@@
-106,7
+106,7
@@
md5sum (const char *filename, char *result)
perror (\"md5sum: fread\");
exit (EXIT_FAILURE);
}
- if (pclose (pp)
== -1
) {
+ if (pclose (pp)
!= 0
) {
perror (\"pclose\");
exit (EXIT_FAILURE);
}