git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9632
d0543943-73ff-0310-b7d9-
9358b9ac24b2
/* signal handler for when freeswitch is running in background mode.
* signal triggers the shutdown of freeswitch
# */
-static void handle_SIGTERM(int sig)
+static void handle_SIGILL(int sig)
{
int32_t arg = 0;
if (sig);
}
#else
/* for unix, send the signal to kill. */
- kill(pid, SIGTERM);
+ kill(pid, SIGILL);
#endif
}
return 255;
}
- signal(SIGTERM, handle_SIGTERM);
+ signal(SIGILL, handle_SIGILL);
if (nc) {
#ifdef WIN32