diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-08-11 13:02:01 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-08-11 13:02:01 +0200 |
commit | b83d00f847108076b6f9450d70c63a73455db8f0 (patch) | |
tree | cf71910a015194315b1f376beec6240fbf26e234 /lib | |
parent | c42ce20054579a61fd810c29652355e15505a10f (diff) | |
parent | cde1a9241d8a3a616517223eafbca0b406a50aac (diff) | |
download | nextcloud-server-b83d00f847108076b6f9450d70c63a73455db8f0.tar.gz nextcloud-server-b83d00f847108076b6f9450d70c63a73455db8f0.zip |
Merge pull request #10249 from mroi/patch-1
file size on non-(Linux/BSD/Windows)-installations
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/largefilehelper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/largefilehelper.php b/lib/private/largefilehelper.php index 293e09fe2c9..2c35feefc8b 100644 --- a/lib/private/largefilehelper.php +++ b/lib/private/largefilehelper.php @@ -147,7 +147,7 @@ class LargeFileHelper { if (\OC_Helper::is_function_enabled('exec')) { $os = strtolower(php_uname('s')); $arg = escapeshellarg($filename); - $result = ''; + $result = null; if (strpos($os, 'linux') !== false) { $result = $this->exec("stat -c %s $arg"); } else if (strpos($os, 'bsd') !== false) { |