diff options
-rw-r--r-- | FS/FS/Upgrade.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/Upgrade.pm b/FS/FS/Upgrade.pm index 37167a8..55eed8e 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; |