From 8b64d9bb440a7a5564d79cedb3189514b5179f44 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 15 Jul 2008 23:18:52 +0000 Subject: 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; -- cgit v1.2.1