The following commit has been merged in the master branch:
commit 88e1cf242fbaf9c347099656d34ae50750e5e2a1
Author: Guillem Jover <[email protected]>
Date: Thu Jan 20 18:23:02 2011 +0100
libdpkg: Warn too on unknown status in subproc_check() if PROCWARN
We were erroring out even if the caller specified PROCWARN, so handle
this error case too.
diff --git a/lib/dpkg/subproc.c b/lib/dpkg/subproc.c
index b4d5658..1c4810e 100644
--- a/lib/dpkg/subproc.c
+++ b/lib/dpkg/subproc.c
@@ -126,8 +126,8 @@ subproc_check(int status, const char *desc, int flags)
out(_("subprocess %s killed by signal (%s)%s"), desc,
strsignal(n), WCOREDUMP(status) ? _(", core dumped") : "");
} else {
- ohshit(_("subprocess %s failed with wait status code %d"),
- desc, status);
+ out(_("subprocess %s failed with wait status code %d"), desc,
+ status);
}
return -1;
--
dpkg's main repository
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]