]> granicus.if.org Git - curl/commitdiff
SIGTERM is the signal to trap here, SIGKILL can't be caught.
authorYang Tse <yangsita@gmail.com>
Wed, 20 Jan 2010 21:16:32 +0000 (21:16 +0000)
committerYang Tse <yangsita@gmail.com>
Wed, 20 Jan 2010 21:16:32 +0000 (21:16 +0000)
tests/runtests.pl

index d8a83afb2542d77434eb5d81855982eb0a22831d..2a39715f64cdeecfb44db60f6f29b6f8a0873694 100755 (executable)
@@ -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