Commit cd9930d3 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

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

5.0 client side is very picky about this.
parent 637bdcf1
#!/usr/bin/perl -wT #!/usr/bin/perl -wT
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2002, 2004, 2005 University of Utah and the Flux Group. # Copyright (c) 2000-2002, 2004, 2005, 2006 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
use Getopt::Std; use Getopt::Std;
...@@ -244,6 +244,7 @@ if (my $childpid = TBBackGround($LOGFILE)) { ...@@ -244,6 +244,7 @@ if (my $childpid = TBBackGround($LOGFILE)) {
} }
exit(0); exit(0);
} }
TBdbfork();
# Set up a signal handler that will clean up in case we get killed # Set up a signal handler that will clean up in case we get killed
$SIG{HUP} = $SIG{INT} = $SIG{TERM} = \&cleanup; $SIG{HUP} = $SIG{INT} = $SIG{TERM} = \&cleanup;
......
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