summaryrefslogtreecommitdiffstats
path: root/lib/private/files
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/files')
-rw-r--r--lib/private/files/stream/close.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/close.php b/lib/private/files/stream/close.php
index 0e1f088fcf9..97e45e37ad7 100644
--- a/lib/private/files/stream/close.php
+++ b/lib/private/files/stream/close.php
@@ -29,7 +29,7 @@ class Close {
}
public function stream_seek($offset, $whence = SEEK_SET) {
- fseek($this->source, $offset, $whence);
+ return fseek($this->source, $offset, $whence) === 0;
}
public function stream_tell() {