@@ -1,3 +1,7 @@
+2008-12-05 Guillem Jover <guillem@debian.org>
+
+ * lib/mlib.c (checksubprocerr): Return an explicit 0 instead of n.
2008-12-05 Guillem Jover <guillem@debian.org>
* lib/ehandle.c (warning): Print the current program name and a
@@ -121,7 +121,9 @@ void m_pipe(int *fds) {
int checksubprocerr(int status, const char *description, int flags) {
int n;
if (WIFEXITED(status)) {
- n= WEXITSTATUS(status); if (!n) return n;
+ n = WEXITSTATUS(status);
+ if (!n)
+ return 0;
if (flags & PROCNOERR)
return -1;
if (flags & PROCWARN)