summaryrefslogtreecommitdiff
path: root/libs/disk.php
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2016-08-03 18:17:23 +0200
committerRichard Braun <rbraun@sceen.net>2016-08-03 18:17:23 +0200
commit158db3350522adba33f28bf78e4baad141bc5145 (patch)
tree724b5e448123df426db0c48ef512c0a57a060c77 /libs/disk.php
parentb6d98b7f12b2e484f3c2728a69ae99c759582f82 (diff)
Changes specific to darnassus.sceen.netHEADdarnassus
Diffstat (limited to 'libs/disk.php')
-rw-r--r--libs/disk.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/disk.php b/libs/disk.php
index 8760816..f2b21cb 100644
--- a/libs/disk.php
+++ b/libs/disk.php
@@ -4,7 +4,7 @@ $Config = new Config();
$datas = array();
-if (!(exec('/bin/df -T -P | awk -v c=`/bin/df -T | grep -bo "Type" | awk -F: \'{print $2}\'` \'{print substr($0,c);}\' | tail -n +2 | awk \'{print $1","$2","$3","$4","$5","$6","$7}\'', $df)))
+if (!(exec('/bin/df -T | awk -v c=`/bin/df -T | grep -bo "Type" | awk -F: \'{print $2}\'` \'{print substr($0,c);}\' | tail -n +2 | awk \'{print $1","$2","$3","$4","$5","$6","$7}\'', $df)))
{
$datas[] = array(
'total' => 'N.A',