SIGTERM is the signal to trap here, SIGKILL can't be caught.
This commit is contained in:
Родитель
58a1557088
Коммит
a872ff742c
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче