Commit a872ff74 authored by Yang Tse's avatar Yang Tse
Browse files

SIGTERM is the signal to trap here, SIGKILL can't be caught.

parent 58a15570
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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