]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 127524: checksetup.pl fails with XML::Parser error
authorzach%zachlipton.com <>
Sat, 2 Mar 2002 06:40:48 +0000 (06:40 +0000)
committerzach%zachlipton.com <>
Sat, 2 Mar 2002 06:40:48 +0000 (06:40 +0000)
Patch by Zach Lipton (zach@zachlipton.com) and by Tobias Burnus
(burnus@gmx.de). r=justdave, r2=zach

checksetup.pl

index 32fae32faba755bb41835bdfd851b9382ff9233a..44587f3105afe6cba1116bd0e17de4f018d07ca6 100755 (executable)
@@ -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: