Permalink
Browse files

slashd fix for better handling the db going away.

  • Loading branch information...
1 parent 34a6f9e commit 209229634d271d9956fcd680748f6b7245973e98 @tvroom tvroom committed Apr 15, 2004
Showing with 1 addition and 1 deletion.
  1. +1 −1 sbin/slashd
View
@@ -758,7 +758,7 @@ sub main {
# kill the dbh, we have too many problems
# if it sticks around during a fork -- pudge
- $slashdb->{_dbh}->disconnect;
+ $slashdb->{_dbh}->disconnect if $slashdb->{_dbh};
undef $slashdb->{_dbh};
FORK: {

0 comments on commit 2092296

Please sign in to comment.