diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2012-07-11 12:54:08 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2012-07-11 12:54:08 +0000 |
commit | 5a463407f5cb3214ba6fdc821a5aeda3b975ca88 (patch) | |
tree | 38fb20b710fded151de74731c607240bfa3b919b /usr.bin/libtool | |
parent | c50d2a31964c3040622e25b55a6fd7a777283a3f (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.pm | 5 |
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"; } } } |