summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/files/stream/oc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/stream/oc.php b/lib/private/files/stream/oc.php
index c206b41f55e..8c3531638ec 100644
--- a/lib/private/files/stream/oc.php
+++ b/lib/private/files/stream/oc.php
@@ -48,7 +48,7 @@ class OC {
}
public function stream_seek($offset, $whence = SEEK_SET) {
- fseek($this->fileSource, $offset, $whence);
+ return fseek($this->fileSource, $offset, $whence) === 0;
}
public function stream_tell() {