1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-04 18:48:24 +01:00

Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2020-08-30 08:22:20 -05:00
commit fc4a1b0083

View File

@ -2006,8 +2006,10 @@ class SFTP extends SSH2
$this->touch($remote_file, $stat['mtime'], $stat['atime']); $this->touch($remote_file, $stat['mtime'], $stat['atime']);
} }
if (isset($fp) && is_resource($fp)) {
fclose($fp); fclose($fp);
} }
}
return $this->close_handle($handle); return $this->close_handle($handle);
} }