This is an automated email from the git hooks/post-receive script. guillem pushed a commit to branch main in repository dpkg.
View the commit online: https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ba2eb7c08ca5eb3599e967350e80af12c89585fa commit ba2eb7c08ca5eb3599e967350e80af12c89585fa Author: Guillem Jover <[email protected]> AuthorDate: Sat Jul 26 02:39:04 2025 +0200 Improve subprocess exit message Shorten the message and simply say it failed, instead of referring to returning some value, which might be less clear from a user point of view. --- lib/dpkg/subproc.c | 2 +- scripts/Dpkg/ErrorHandling.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dpkg/subproc.c b/lib/dpkg/subproc.c index e91bb6215..3e4770a2f 100644 --- a/lib/dpkg/subproc.c +++ b/lib/dpkg/subproc.c @@ -136,7 +136,7 @@ subproc_check(int status, const char *desc, enum subproc_flags flags) if (flags & SUBPROC_RETERROR) return n; - out(_("%s subprocess returned error exit status %d"), desc, n); + out(_("%s subprocess failed with exit status %d"), desc, n); } else if (WIFSIGNALED(status)) { n = WTERMSIG(status); if (!n) diff --git a/scripts/Dpkg/ErrorHandling.pm b/scripts/Dpkg/ErrorHandling.pm index c07bdbb3a..3bc478e7e 100644 --- a/scripts/Dpkg/ErrorHandling.pm +++ b/scripts/Dpkg/ErrorHandling.pm @@ -283,7 +283,7 @@ sub subprocerr if (POSIX::WIFEXITED($?)) { my $ret = POSIX::WEXITSTATUS($?); - error(g_('%s subprocess returned exit status %d'), $p, $ret); + error(g_('%s subprocess failed with exit status %d'), $p, $ret); } elsif (POSIX::WIFSIGNALED($?)) { my $sig = POSIX::WTERMSIG($?); error(g_('%s subprocess was killed by signal %d'), $p, $sig); -- Dpkg.Org's dpkg

