mirror of
https://github.com/curl/curl.git
synced 2026-07-29 23:28:08 +03:00
SIGTERM is the signal to trap here, SIGKILL can't be caught.
This commit is contained in:
parent
58a1557088
commit
a872ff742c
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue