parens help alot
authorivan <ivan>
Tue, 15 Jul 2008 23:18:52 +0000 (23:18 +0000)
committerivan <ivan>
Tue, 15 Jul 2008 23:18:52 +0000 (23:18 +0000)
FS/FS/Upgrade.pm

index 37167a8..55eed8e 100644 (file)
@@ -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;