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

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