aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xchecksetup.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 32fae32fa..44587f310 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -265,8 +265,9 @@ if (@missing > 0) {
#
print "Checking user setup ...\n";
+$@ = undef;
do 'localconfig';
-if ($@ ne "") { # capture errors in localconfig, bug 97290
+if ($@) { # capture errors in localconfig, bug 97290
print STDERR <<EOT;
An error has occurred while reading your
'localconfig' file. The text of the error message is: