parens help alot
[freeside.git] / 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;