mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't use SA_RESETHAND here. We gain nothing.
Suggested by: bde
This commit is contained in:
parent
65cacad456
commit
a63c2b97d7
1 changed files with 1 additions and 1 deletions
|
|
@ -603,7 +603,7 @@ main(int argc, char **argv)
|
|||
|
||||
memset(&act, '\0', sizeof act);
|
||||
act.sa_handler = Farewell;
|
||||
act.sa_flags = SA_RESETHAND;
|
||||
act.sa_flags = 0;
|
||||
sigemptyset(&act.sa_mask);
|
||||
sigaction(SIGHUP, &act, NULL);
|
||||
sigaction(SIGINT, &act, NULL);
|
||||
|
|
|
|||
Loading…
Reference in a new issue