svn commit: samba r24974 - in branches/SAMBA_3_2/source/script/tests: .

metze at samba.org metze at samba.org
Thu Sep 6 10:51:18 GMT 2007


Author: metze
Date: 2007-09-06 10:51:17 +0000 (Thu, 06 Sep 2007)
New Revision: 24974

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24974

Log:
catch SIGINT and SIGQUIT like SIGTERM

metze
Modified:
   branches/SAMBA_3_2/source/script/tests/timelimit.c


Changeset:
Modified: branches/SAMBA_3_2/source/script/tests/timelimit.c
===================================================================
--- branches/SAMBA_3_2/source/script/tests/timelimit.c	2007-09-06 04:01:52 UTC (rev 24973)
+++ branches/SAMBA_3_2/source/script/tests/timelimit.c	2007-09-06 10:51:17 UTC (rev 24974)
@@ -80,6 +80,8 @@
 	}
 
 	signal(SIGTERM, sig_term);
+	signal(SIGINT,  sig_term);
+	signal(SIGQUIT, sig_term);
 	signal(SIGUSR1, sig_usr1);
 	signal(SIGALRM, sig_alrm_term);
 	alarm(maxtime);



More information about the samba-cvs mailing list