error logging going to the terminal after log_free
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@467
9efc2488-bf62-4759-914b-
345cdb29e865
void sig_hup_handler( int a ) {
warning_handler(" +++ Re-launching server for SIGHUP");
- log_free();
jserver_free(js);
+ log_free();
unlink(unix_sock_file);
launch_server();
/* die gracefully */
void sig_int_handler( int a ) {
warning_handler(" +++ Shutting down because of user signal");
- log_free();
jserver_free(js);
+ log_free();
unlink(unix_sock_file);
exit(0);
}