diff options
author | Joey Hess <joey@kitenet.net> | 2011-09-08 14:28:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-09-08 14:28:40 -0400 |
commit | ca7a0777500773ce7c36b5263b61084cf58af785 (patch) | |
tree | a2a3ccb829addd86762bff4502e78b7fea2c3cc3 | |
parent | 889bf4ecf77bafc2099312556bd522c4a39fd6d9 (diff) | |
download | pristine-tar-ca7a0777500773ce7c36b5263b61084cf58af785.tar.gz pristine-tar-ca7a0777500773ce7c36b5263b61084cf58af785.tar.bz2 pristine-tar-ca7a0777500773ce7c36b5263b61084cf58af785.zip |
Propigate nonzero exit status from doit_redir. Closes: #600724
-rw-r--r-- | Pristine/Tar.pm | 3 | ||||
-rw-r--r-- | debian/changelog | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Pristine/Tar.pm b/Pristine/Tar.pm index 096020b..1d31a48 100644 --- a/Pristine/Tar.pm +++ b/Pristine/Tar.pm @@ -59,6 +59,9 @@ sub doit_redir { open OUTFILE, ">", $out or die("Could not open '$out' for reading: $!\n"); my $pid = open2(">&OUTFILE", "<&INFILE", @args); waitpid $pid, 0; + if ($? != 0) { + error "command failed: @args"; + } } sub tempdir { diff --git a/debian/changelog b/debian/changelog index c1c18c4..543f0aa 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ pristine-tar (1.15) UNRELEASED; urgency=low * Fix Vcs-Browser url. Closes: #636926 + * Propigate nonzero exit status from doit_redir. Closes: #600724 -- Joey Hess <joeyh@debian.org> Sun, 07 Aug 2011 08:53:21 -0400 |