mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r24974: catch SIGINT and SIGQUIT like SIGTERM
metze
This commit is contained in:
parent
aa043bb446
commit
ab15f5c3e7
@ -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