Commit 40d25718 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Add TBdbfork() call after going to ground; it appears that the mysql

5.0 client side is very picky about this.
parent 0409c15b
......@@ -194,6 +194,7 @@ if (!$debug) {
if (TBBackGround("/dev/null")) {
exit(0);
}
TBdbfork();
}
# set up syslog
if (! $nolog) {
......
......@@ -586,5 +586,6 @@ sub daemonize()
open(STDERR, ">> $logfile") or die("opening $logfile for STDERR: $!");
open(STDOUT, ">> $logfile") or die("opening $logfile for STDOUT: $!");
TBdbfork();
return 0;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment