diff --git a/plugins/housekeeper/HouseKeeper.inc.php b/plugins/housekeeper/HouseKeeper.inc.php index 4ed8830..eac33df 100644 --- a/plugins/housekeeper/HouseKeeper.inc.php +++ b/plugins/housekeeper/HouseKeeper.inc.php @@ -89,7 +89,7 @@ class HouseKeeper preg_match('/(.*)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\%\s+(.*)/', $line, $matches); list($line, $filesystem, $size, $used, $avail, $usedp, $mount) = $matches; - if ($size === 0) continue; + if ($size === 0 || empty($size)) continue; if(strtolower(PHP_OS) == 'darwin'){ $size = $size * 1024; @@ -347,4 +347,4 @@ class HouseKeeper } -?> \ No newline at end of file +?>