diff options
-rwxr-xr-x | checksetup.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/checksetup.pl b/checksetup.pl index d387571b4..c5a00b99f 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -322,8 +322,8 @@ print "Checking user setup ...\n"; $@ = undef; if ($ARGV[0]) { do $ARGV[0] - or eval die("Error $! processing $ARGV[0]") - or die("Error $@ processing $ARGV[0]"); + or ($@ && die("Error $@ processing $ARGV[0]")) + or die("Error $! processing $ARGV[0]"); } do 'localconfig'; if ($@) { # capture errors in localconfig, bug 97290 |