core: don't trap SIGINT
Let debuggers handle it like they're supposed to.
This commit is contained in:
@@ -173,7 +173,6 @@ nm_signal_handler (int signo)
|
|||||||
g_main_loop_quit (main_loop);
|
g_main_loop_quit (main_loop);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SIGINT:
|
|
||||||
case SIGTERM:
|
case SIGTERM:
|
||||||
/* let the fatal signals interrupt us */
|
/* let the fatal signals interrupt us */
|
||||||
--in_fatal;
|
--in_fatal;
|
||||||
@@ -214,7 +213,6 @@ setup_signals (void)
|
|||||||
action.sa_mask = mask;
|
action.sa_mask = mask;
|
||||||
action.sa_flags = 0;
|
action.sa_flags = 0;
|
||||||
sigaction (SIGTERM, &action, NULL);
|
sigaction (SIGTERM, &action, NULL);
|
||||||
sigaction (SIGINT, &action, NULL);
|
|
||||||
sigaction (SIGILL, &action, NULL);
|
sigaction (SIGILL, &action, NULL);
|
||||||
sigaction (SIGBUS, &action, NULL);
|
sigaction (SIGBUS, &action, NULL);
|
||||||
sigaction (SIGFPE, &action, NULL);
|
sigaction (SIGFPE, &action, NULL);
|
||||||
|
Reference in New Issue
Block a user