mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
It doesn't matter if the QUIT command fails
https://github.com/webmin/webmin/issues/2394
This commit is contained in:
@@ -3439,7 +3439,8 @@ if (!$connected) {
|
||||
}
|
||||
|
||||
# finish off..
|
||||
&ftp_command("QUIT", 2, $error) || return 0;
|
||||
my $dummy;
|
||||
&ftp_command("QUIT", 2, \$dummy);
|
||||
close(SOCK);
|
||||
}
|
||||
|
||||
@@ -3562,7 +3563,8 @@ if ($got != $st[7]) {
|
||||
|
||||
# finish off..
|
||||
&ftp_command("", 2, $_[3]) || return 0;
|
||||
&ftp_command("QUIT", 2, $_[3]) || return 0;
|
||||
my $dummy;
|
||||
&ftp_command("QUIT", 2, \$dummy);
|
||||
close(SOCK);
|
||||
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user