mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
r24974: catch SIGINT and SIGQUIT like SIGTERM
metze
(This used to be commit ab15f5c3e7
)
This commit is contained in:
parent
b3fbff6eb5
commit
993d64cde3
@ -80,6 +80,8 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
|
||||
signal(SIGTERM, sig_term);
|
||||
signal(SIGINT, sig_term);
|
||||
signal(SIGQUIT, sig_term);
|
||||
signal(SIGUSR1, sig_usr1);
|
||||
signal(SIGALRM, sig_alrm_term);
|
||||
alarm(maxtime);
|
||||
|
Loading…
Reference in New Issue
Block a user