[Listener] Set the signal flags to 0
This commit is contained in:
parent
626242b5e2
commit
462298d6e8
|
@ -125,6 +125,7 @@ int main(int argc, char *argv[])
|
||||||
owl_run = TRUE ;
|
owl_run = TRUE ;
|
||||||
|
|
||||||
/* Set up signal handlers */
|
/* Set up signal handlers */
|
||||||
|
action.sa_flags = 0 ;
|
||||||
sigemptyset(&action.sa_mask) ;
|
sigemptyset(&action.sa_mask) ;
|
||||||
action.sa_handler = sigint_handler ;
|
action.sa_handler = sigint_handler ;
|
||||||
sigaction(SIGINT, &action, NULL) ;
|
sigaction(SIGINT, &action, NULL) ;
|
||||||
|
|
Loading…
Reference in New Issue