Skip to content

Commit 7cc8faf

Browse files
authored
Merge pull request #175 from mikoMK/correct-df-output
Avoid line breaks after long device names in "df" command
2 parents 060bc8e + 6167409 commit 7cc8faf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/OperatingSystems/DefaultOs.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ public function getNetworkInterfaces() {
154154
*/
155155
public function getDiskInfo() {
156156
$blacklist = ['', 'Type', 'tmpfs', 'devtmpfs'];
157-
$data = shell_exec('df -T');
157+
$data = shell_exec('df -TP');
158158
$lines = preg_split('/[\r\n]+/', $data);
159159

160160
foreach ($lines as $line) {

0 commit comments

Comments
 (0)