summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authorzach%zachlipton.com <>2002-03-02 07:40:48 +0100
committerzach%zachlipton.com <>2002-03-02 07:40:48 +0100
commit6c25b87d08d9adfbee6b0181bfbbbc61f5e5d625 (patch)
tree59a0c3a0b84718a57975c9b07960280af1009781 /checksetup.pl
parent8bc3038dec030c99b24ec27823796294176d8a0d (diff)
downloadbugzilla-6c25b87d08d9adfbee6b0181bfbbbc61f5e5d625.tar.gz
bugzilla-6c25b87d08d9adfbee6b0181bfbbbc61f5e5d625.tar.xz
Fix for bug 127524: checksetup.pl fails with XML::Parser error
Patch by Zach Lipton (zach@zachlipton.com) and by Tobias Burnus (burnus@gmx.de). r=justdave, r2=zach
Diffstat (limited to 'checksetup.pl')
-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: