Author: metze
Date: 2007-09-06 10:52:21 +0000 (Thu, 06 Sep 2007)
New Revision: 24975

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

Log:
catch SIGINT and SIGQUIT like SIGTERM

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


Changeset:
Modified: branches/SAMBA_3_2_0/source/script/tests/timelimit.c
===================================================================
--- branches/SAMBA_3_2_0/source/script/tests/timelimit.c        2007-09-06 
10:51:17 UTC (rev 24974)
+++ branches/SAMBA_3_2_0/source/script/tests/timelimit.c        2007-09-06 
10:52:21 UTC (rev 24975)
@@ -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);

Reply via email to