|
|
|
@ -158,7 +158,6 @@ sig_handler_thread(void *arg)
|
|
|
|
|
sigaddset(&waitmask, SIGHUP);
|
|
|
|
|
sigaddset(&waitmask, SIGCHLD);
|
|
|
|
|
sigaddset(&waitmask, SIGTERM);
|
|
|
|
|
sigaddset(&waitmask, SIGKILL);
|
|
|
|
|
sigaddset(&waitmask, SIGINT);
|
|
|
|
|
|
|
|
|
|
// sigaddset(&waitmask, SIGFPE);
|
|
|
|
@ -188,11 +187,6 @@ sig_handler_thread(void *arg)
|
|
|
|
|
LOG_DBG("sesman received SIGINT", 0);
|
|
|
|
|
sig_sesman_shutdown(recv_signal);
|
|
|
|
|
break;
|
|
|
|
|
case SIGKILL:
|
|
|
|
|
/* we die */
|
|
|
|
|
LOG_DBG("sesman received SIGKILL", 0);
|
|
|
|
|
sig_sesman_shutdown(recv_signal);
|
|
|
|
|
break;
|
|
|
|
|
case SIGTERM:
|
|
|
|
|
/* we die */
|
|
|
|
|
LOG_DBG("sesman received SIGTERM", 0);
|
|
|
|
|