summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7e48486)
- if (pclose (pp) == -1) {
+ if (pclose (pp) != 0) {
perror ("pclose");
return -1;
}
perror ("pclose");
return -1;
}
perror (\"md5sum: fread\");
exit (EXIT_FAILURE);
}
perror (\"md5sum: fread\");
exit (EXIT_FAILURE);
}
- if (pclose (pp) == -1) {
+ if (pclose (pp) != 0) {
perror (\"pclose\");
exit (EXIT_FAILURE);
}
perror (\"pclose\");
exit (EXIT_FAILURE);
}
- if (pclose (pp) == -1) {
+ if (pclose (pp) != 0) {
warning (g, "pclose: %m");
return NULL;
}
warning (g, "pclose: %m");
return NULL;
}
}
/* 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;
}