sigterm works again

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10335 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2008-11-11 19:27:49 +00:00
parent c99b8fb34f
commit e2259d2c65

View File

@ -123,7 +123,7 @@ static int freeswitch_kill_background()
} }
#else #else
/* for unix, send the signal to kill. */ /* for unix, send the signal to kill. */
kill(pid, SIGILL); kill(pid, SIGTERM);
#endif #endif
} }
@ -566,6 +566,7 @@ int main(int argc, char *argv[])
} }
signal(SIGILL, handle_SIGILL); signal(SIGILL, handle_SIGILL);
signal(SIGTERM, handle_SIGILL);
if (nc) { if (nc) {
#ifdef WIN32 #ifdef WIN32