1
0
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:
Stefan Metzmacher 2007-09-06 10:51:17 +00:00 committed by Gerald (Jerry) Carter
parent b3fbff6eb5
commit 993d64cde3

View File

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