summaryrefslogtreecommitdiff
path: root/src/unpack.c
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-01-26 00:57:32 +0100
committerGuillem Jover <guillem@debian.org>2016-01-26 13:34:03 +0100
commit521e84da3a2b9ad62d5dbab0f4e1794aef149996 (patch)
tree9868414e3c1ff48065dc330edb201a7bac420504 /src/unpack.c
parentb52810ec8cc3415796a687a0bba6a6c70b9d53af (diff)
downloaddpkg-521e84da3a2b9ad62d5dbab0f4e1794aef149996.tar.gz
dpkg: Use ohshit() instead of internerr() for unhandled dpkg-split exit codes
If dpkg-split exits with an unhandled exit code we should not abort dpkg, we should just handle the error in the same way we handle errors from debsig-verify or dpkg-deb. Closes: #812679
Diffstat (limited to 'src/unpack.c')
-rw-r--r--src/unpack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unpack.c b/src/unpack.c
index 3e94207d6..27ca15c70 100644
--- a/src/unpack.c
+++ b/src/unpack.c
@@ -120,7 +120,7 @@ deb_reassemble(const char **filename, const char **pfilename)
/* No, it wasn't a part. */
break;
default:
- internerr("unexpected exit status %d from %s", status, SPLITTER);
+ ohshit(_("subprocess %s returned error exit status %d"), SPLITTER, status);
}
return true;