X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2FUID.pm;h=356efa49c1153c3be1ad3e5a7b5565060fe3dfd8;hb=37d83fa441f945be8f62ecb3bea3cc29c55aa181;hp=159649a59b6107f3800c55dd4aa3123930a2bd5c;hpb=d52a70ebe76e47d9e1a3036452ff967b7e69303e;p=freeside.git diff --git a/FS/FS/UID.pm b/FS/FS/UID.pm index 159649a59..356efa49c 100644 --- a/FS/FS/UID.pm +++ b/FS/FS/UID.pm @@ -118,8 +118,9 @@ sub forksuidsetup { my $sth = $dbh->prepare("SELECT COUNT(*) FROM conf"); if ( $sth ) { - $sth->execute or die $sth->errstr; - $confcount = $sth->fetchrow_arrayref->[0]; + if ( $sth->execute ) { + $confcount = $sth->fetchrow_arrayref->[0]; + } } if ($confcount) {