mirror of
https://github.com/curl/curl.git
synced 2026-08-02 18:00:27 +03:00
Revert ftpserver.pl back to revision 1.74 Adding change done in 1.76
This is done to back out changes done in revisions 1.77 and 1.75
This commit is contained in:
parent
7a557e984a
commit
268fe09322
1 changed files with 2 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ do {
|
|||
sub catch_zap {
|
||||
my $signame = shift;
|
||||
print STDERR "ftpserver.pl received SIG$signame, exiting\n";
|
||||
ftpkillslave($ftpdnum, $ext, 1);
|
||||
ftpkillslaves(1);
|
||||
die "Somebody sent me a SIG$signame";
|
||||
}
|
||||
$SIG{INT} = \&catch_zap;
|
||||
|
|
@ -523,7 +523,7 @@ sub PASV_command {
|
|||
my $pasvport;
|
||||
my $pidf=".sockdata$ftpdnum$ext.pid";
|
||||
|
||||
my $prev = checkalivepidfile($pidf);
|
||||
my $prev = checkserver($pidf);
|
||||
if($prev > 0) {
|
||||
print "kill existing server: $prev\n" if($verbose);
|
||||
kill(9, $prev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue