Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/serverinfo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-03-03 14:36:26 +0300
committerGitHub <noreply@github.com>2020-03-03 14:36:26 +0300
commit15551d9b1448d3dbaf1b7e5dd9811cbc7636e281 (patch)
treee0484190c8237897b389eefdca9b867ab47c9894
parente2a8085635fe6708d5b379dafa93940e46656c37 (diff)
parent73d497fe28c792b1c59df99c22225ad6c60c07fc (diff)
Merge pull request #177 from nextcloud/backport/175/stable18v18.0.2RC2v18.0.2RC1v18.0.2
[stable18] Avoid line breaks after long device names in "df" command
-rw-r--r--lib/OperatingSystems/DefaultOs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/OperatingSystems/DefaultOs.php b/lib/OperatingSystems/DefaultOs.php
index bebbfd2..3581eae 100644
--- a/lib/OperatingSystems/DefaultOs.php
+++ b/lib/OperatingSystems/DefaultOs.php
@@ -154,7 +154,7 @@ class DefaultOs {
*/
public function getDiskInfo() {
$blacklist = ['', 'Type', 'tmpfs', 'devtmpfs'];
- $data = shell_exec('df -T');
+ $data = shell_exec('df -TP');
$lines = preg_split('/[\r\n]+/', $data);
foreach ($lines as $line) {