diff options
author | 2012-07-11 12:54:07 +0000 | |
---|---|---|
committer | 2012-07-11 12:54:07 +0000 | |
commit | 97f6c442405ed22dde4b97a20b00237bad73e5a9 (patch) | |
tree | a4ac54e205d311220f556f0a938b4145b53b16a4 | |
parent | If the current offset is strictly less than the process filesize (diff) | |
download | wireguard-openbsd-97f6c442405ed22dde4b97a20b00237bad73e5a9.tar.xz wireguard-openbsd-97f6c442405ed22dde4b97a20b00237bad73e5a9.zip |
no need to trace libtool when executing an external command fails.
otherwise I get bogus bug-reports from nitwits
-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"; } } } |