mirror of
https://github.com/curl/curl.git
synced 2026-08-05 04:36:14 +03:00
Add some message logging
This commit is contained in:
parent
d8387b418d
commit
1e35d95df8
3 changed files with 64 additions and 35 deletions
|
|
@ -114,7 +114,7 @@ do {
|
|||
sub catch_zap {
|
||||
my $signame = shift;
|
||||
print STDERR "ftpserver.pl received SIG$signame, exiting\n";
|
||||
ftpkillslaves();
|
||||
ftpkillslave($ftpdnum, $ext, 1);
|
||||
die "Somebody sent me a SIG$signame";
|
||||
}
|
||||
$SIG{INT} = \&catch_zap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue