summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-09-06 10:51:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:30:30 -0500
commit993d64cde307be69c4db3756b7f59881d35fee93 (patch)
treed22bed645d314cf9a93203cdc3fee8b5db7f8ed5
parentb3fbff6eb5177b72135df660bee3bc3476d56018 (diff)
downloadsamba-993d64cde307be69c4db3756b7f59881d35fee93.tar.gz
samba-993d64cde307be69c4db3756b7f59881d35fee93.tar.bz2
samba-993d64cde307be69c4db3756b7f59881d35fee93.zip
r24974: catch SIGINT and SIGQUIT like SIGTERM
metze (This used to be commit ab15f5c3e72df6272db9a4431f720f604fcf40f2)
-rw-r--r--source3/script/tests/timelimit.c2
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);