From f81986d554b89a34c1277080b0e76c1e0a5ffbfe Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 17 May 2007 17:34:20 +0000 Subject: [PATCH] * Correct a bug that caused alien to ignore failing commands. Closes: #424858 --- Alien/Package.pm | 3 ++- debian/changelog | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Alien/Package.pm b/Alien/Package.pm index 093a9c1..fce87af 100644 --- a/Alien/Package.pm +++ b/Alien/Package.pm @@ -446,7 +446,8 @@ sub do { } else { # parent - return (waitpid($pid, 0) > 0); + my $ret=(waitpid($pid, 0) > 0); + return ! $ret || ! $?; } } diff --git a/debian/changelog b/debian/changelog index 87ad9a5..071bbb4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,9 +1,10 @@ -alien (8.67) UNRELEASED; urgency=low +alien (8.67) unstable; urgency=low * Update the url to the web page, and remove several other broken urls from the README. + * Correct a bug that caused alien to ignore failing commands. Closes: #424858 - -- Joey Hess Thu, 17 May 2007 00:10:53 -0400 + -- Joey Hess Thu, 17 May 2007 13:31:56 -0400 alien (8.66) unstable; urgency=low