mirror of
https://github.com/curl/curl.git
synced 2025-02-05 14:30:10 +08:00
SIGTERM is the signal to trap here, SIGKILL can't be caught.
This commit is contained in:
parent
58a1557088
commit
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
|
||||
|
Loading…
Reference in New Issue
Block a user