From 0a2d11479a11e7aafc6e7a6273d51c74784b2839 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Jul 2008 23:18:53 +0000 Subject: [PATCH] parens help alot --- FS/FS/Upgrade.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 37167a8af..55eed8ea1 100644 --- a/FS/FS/Upgrade.pm +++ b/FS/FS/Upgrade.pm @@ -122,7 +122,7 @@ sub upgrade_sqlradius { { PrintError => 0, PrintWarn => 0 } ); - unless $dbh { + unless ($dbh) { warn "can't connect to RADIUS database ". $part_export->option('datasrc'). ": $DBI::errstr\n"; next; -- 2.20.1