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