Don't use SA_RESETHAND here. We gain nothing.

Suggested by: bde
This commit is contained in:
brian 2001-07-31 15:29:50 +00:00
parent 160b405b91
commit 30c6547f47

View File

@ -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);