diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-09-06 10:51:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:30:30 -0500 |
commit | 993d64cde307be69c4db3756b7f59881d35fee93 (patch) | |
tree | d22bed645d314cf9a93203cdc3fee8b5db7f8ed5 /source3/script/tests | |
parent | b3fbff6eb5177b72135df660bee3bc3476d56018 (diff) | |
download | samba-993d64cde307be69c4db3756b7f59881d35fee93.tar.gz samba-993d64cde307be69c4db3756b7f59881d35fee93.tar.bz2 samba-993d64cde307be69c4db3756b7f59881d35fee93.zip |
r24974: catch SIGINT and SIGQUIT like SIGTERM
metze
(This used to be commit ab15f5c3e72df6272db9a4431f720f604fcf40f2)
Diffstat (limited to 'source3/script/tests')
-rw-r--r-- | source3/script/tests/timelimit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/script/tests/timelimit.c b/source3/script/tests/timelimit.c index 32e58f5249..886256cb37 100644 --- a/source3/script/tests/timelimit.c +++ b/source3/script/tests/timelimit.c @@ -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); |