+2007-09-18 Guillem Jover <guillem@debian.org>
+
+ * lib/mlib.c (checksubprocerr): Warn instead of erroring out in case
+ of receiving a signal and having been asked to only warn.
+
2007-09-18 Guillem Jover <guillem@debian.org>
* src/remove.c (deferred_remove): Remove duplicate nested conditional,
} else if (WIFSIGNALED(status)) {
n= WTERMSIG(status); if (!n || ((flags & PROCPIPE) && n==SIGPIPE)) return 0;
if (flags & PROCWARN)
- ohshit(_("dpkg: warning - %s killed by signal (%s)%s\n"),
- description, strsignal(n), WCOREDUMP(status) ? _(", core dumped") : "");
+ fprintf(stderr, _("dpkg: warning - %s killed by signal (%s)%s\n"),
+ description, strsignal(n), WCOREDUMP(status) ? _(", core dumped") : "");
else
ohshit(_("subprocess %s killed by signal (%s)%s"),
description, strsignal(n), WCOREDUMP(status) ? _(", core dumped") : "");