projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d52a70e
)
okay, really now, how about this
author
ivan
<ivan>
Sun, 16 Mar 2008 07:25:52 +0000
(07:25 +0000)
committer
ivan
<ivan>
Sun, 16 Mar 2008 07:25:52 +0000
(07:25 +0000)
FS/FS/UID.pm
patch
|
blob
|
history
diff --git
a/FS/FS/UID.pm
b/FS/FS/UID.pm
index
159649a
..
356efa4
100644
(file)
--- 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) {