Merge branch '2.0' into 3.0

This commit is contained in:
terrafrost 2021-02-21 18:57:40 -06:00
commit a8f5d9db55

View File

@ -410,7 +410,7 @@ class Stream extends SFTP
{
switch ($whence) {
case SEEK_SET:
if ($offset >= $this->size || $offset < 0) {
if ($offset < 0) {
return false;
}
break;