summaryrefslogtreecommitdiff
path: root/usr.bin/libtool
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2012-07-11 12:54:08 +0000
committerMarc Espie <espie@cvs.openbsd.org>2012-07-11 12:54:08 +0000
commit5a463407f5cb3214ba6fdc821a5aeda3b975ca88 (patch)
tree38fb20b710fded151de74731c607240bfa3b919b /usr.bin/libtool
parentc50d2a31964c3040622e25b55a6fd7a777283a3f (diff)
no need to trace libtool when executing an external command fails.
otherwise I get bogus bug-reports from nitwits
Diffstat (limited to 'usr.bin/libtool')
-rw-r--r--usr.bin/libtool/LT/Exec.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/libtool/LT/Exec.pm b/usr.bin/libtool/LT/Exec.pm
index a1c2188728e..1f74cdd46a2 100644
--- a/usr.bin/libtool/LT/Exec.pm
+++ b/usr.bin/libtool/LT/Exec.pm
@@ -1,4 +1,4 @@
-# $OpenBSD: Exec.pm,v 1.3 2012/07/06 11:30:41 espie Exp $
+# $OpenBSD: Exec.pm,v 1.4 2012/07/11 12:54:07 espie Exp $
# Copyright (c) 2007-2010 Steven Mestdagh <steven@openbsd.org>
# Copyright (c) 2012 Marc Espie <espie@openbsd.org>
@@ -21,6 +21,7 @@ use feature qw(say switch state);
package LT::Exec;
use LT::Trace;
+use LT::Util;
my $dry = 0;
my $verbose = 0;
@@ -104,7 +105,7 @@ sub command_run
} else {
my $kid = waitpid($pid, 0);
if ($? != 0) {
- die "Error while executing @l\n";
+ shortdie "Error while executing @l\n";
}
}
}