mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-07-12 02:03:39 +00:00
sigterm works again
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10335 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
c99b8fb34f
commit
e2259d2c65
@ -123,7 +123,7 @@ static int freeswitch_kill_background()
|
||||
}
|
||||
#else
|
||||
/* for unix, send the signal to kill. */
|
||||
kill(pid, SIGILL);
|
||||
kill(pid, SIGTERM);
|
||||
#endif
|
||||
}
|
||||
|
||||
@ -566,6 +566,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
signal(SIGILL, handle_SIGILL);
|
||||
signal(SIGTERM, handle_SIGILL);
|
||||
|
||||
if (nc) {
|
||||
#ifdef WIN32
|
||||
|
Loading…
x
Reference in New Issue
Block a user