mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
FSCORE-456
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15051 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -1346,13 +1346,6 @@ static void handle_SIGBUS(int sig)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* no ctl-c mofo */
|
||||
static void handle_SIGINT(int sig)
|
||||
{
|
||||
if (sig);
|
||||
return;
|
||||
}
|
||||
|
||||
static void handle_SIGHUP(int sig)
|
||||
{
|
||||
if (sig) {
|
||||
@@ -1463,7 +1456,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_init_and_modload(switch_core_flag_t
|
||||
}
|
||||
|
||||
/* set signal handlers */
|
||||
signal(SIGINT, handle_SIGINT);
|
||||
signal(SIGINT, SIG_IGN);
|
||||
#ifdef SIGPIPE
|
||||
signal(SIGPIPE, handle_SIGPIPE);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user