mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 09:40:11 +01:00
core: don't trap SIGINT
Let debuggers handle it like they're supposed to.
This commit is contained in:
parent
d6905a8d66
commit
3a47e57f68
1 changed files with 0 additions and 2 deletions
|
|
@ -173,7 +173,6 @@ nm_signal_handler (int signo)
|
|||
g_main_loop_quit (main_loop);
|
||||
break;
|
||||
|
||||
case SIGINT:
|
||||
case SIGTERM:
|
||||
/* let the fatal signals interrupt us */
|
||||
--in_fatal;
|
||||
|
|
@ -214,7 +213,6 @@ setup_signals (void)
|
|||
action.sa_mask = mask;
|
||||
action.sa_flags = 0;
|
||||
sigaction (SIGTERM, &action, NULL);
|
||||
sigaction (SIGINT, &action, NULL);
|
||||
sigaction (SIGILL, &action, NULL);
|
||||
sigaction (SIGBUS, &action, NULL);
|
||||
sigaction (SIGFPE, &action, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue