git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extra tests: Run C API tests under valgrind.
[libguestfs.git]
/
src
/
dbdump.c
diff --git
a/src/dbdump.c
b/src/dbdump.c
index
caf6376
..
45c67c6
100644
(file)
--- a/
src/dbdump.c
+++ b/
src/dbdump.c
@@
-129,7
+129,7
@@
guestfs___read_db_dump (guestfs_h *g,
}
/* Catch errors from the db_dump command. */
- if (pclose (pp)
== -1
) {
+ if (pclose (pp)
!= 0
) {
perrorf (g, "pclose: %s", cmd);
goto out;
}