From 6c25b87d08d9adfbee6b0181bfbbbc61f5e5d625 Mon Sep 17 00:00:00 2001
From: "zach%zachlipton.com" <>
Date: Sat, 2 Mar 2002 06:40:48 +0000
Subject: [PATCH] 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
---
 checksetup.pl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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:
-- 
2.24.1