From: Yang Tse Date: Wed, 20 Jan 2010 21:16:32 +0000 (+0000) Subject: SIGTERM is the signal to trap here, SIGKILL can't be caught. X-Git-Tag: curl-7_20_0~115 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a872ff742cb0228f92fb56e5f846d4f849ef507b;p=curl SIGTERM is the signal to trap here, SIGKILL can't be caught. --- 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