mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-13 15:34:01 +00:00
add better error message on failure.
This commit is contained in:
parent
5c1564002e
commit
812095c61a
@ -10,8 +10,8 @@
|
||||
# without the '.gz.html' extension.
|
||||
|
||||
|
||||
# $Revision: 1.8 $
|
||||
# $Date: 2001/10/10 15:06:48 $
|
||||
# $Revision: 1.9 $
|
||||
# $Date: 2002/04/26 22:27:17 $
|
||||
# $Author: kestes%walrus.com $
|
||||
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/bin/gunzip.cgi,v $
|
||||
# $Name: $
|
||||
@ -160,7 +160,7 @@ sub parse_args {
|
||||
if (-f $ZIPPED_FILE) {
|
||||
my (@cmd) = (@GUNZIP, $ZIPPED_FILE);
|
||||
system(@cmd);
|
||||
($?) && die("Could not run: '@cmd'\n");
|
||||
($?) && die("Could not run: '@cmd' : $! : waitstatus $? \n");
|
||||
} else {
|
||||
print "Could not find file: $ZIPPED_FILE\n";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user