summaryrefslogtreecommitdiff
path: root/FS/FS/UID.pm
diff options
context:
space:
mode:
authorivan <ivan>2008-03-16 07:25:52 +0000
committerivan <ivan>2008-03-16 07:25:52 +0000
commit37d83fa441f945be8f62ecb3bea3cc29c55aa181 (patch)
tree7a1038dc3648576618c326d30f1f2439f2a9ba87 /FS/FS/UID.pm
parentd52a70ebe76e47d9e1a3036452ff967b7e69303e (diff)
okay, really now, how about this
Diffstat (limited to 'FS/FS/UID.pm')
-rw-r--r--FS/FS/UID.pm5
1 files changed, 3 insertions, 2 deletions
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) {