aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-01-20 21:16:32 +0000
committerYang Tse <yangsita@gmail.com>2010-01-20 21:16:32 +0000
commita872ff742cb0228f92fb56e5f846d4f849ef507b (patch)
treeac77a248c7c8e06d83635a61bc737673e79d2b0e
parent58a155708844a0851e8ef8c2c11f94ed018ef405 (diff)
SIGTERM is the signal to trap here, SIGKILL can't be caught.
-rwxr-xr-xtests/runtests.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/runtests.pl b/tests/runtests.pl
index d8a83afb2..2a39715f6 100755
--- a/tests/runtests.pl
+++ b/tests/runtests.pl
@@ -285,7 +285,7 @@ sub catch_zap {
die "Somebody sent me a SIG$signame";
}
$SIG{INT} = \&catch_zap;
-$SIG{KILL} = \&catch_zap;
+$SIG{TERM} = \&catch_zap;
##########################################################################
# Clear all possible '*_proxy' environment variables for various protocols