From 2615e90b0708eb1a057e9b63cf2068942a5f79ec Mon Sep 17 00:00:00 2001
From: Dominik <info@profi-webdesign.com>
Date: Wed, 14 Jan 2015 14:08:41 -0500
Subject: [PATCH] fixed template-style fixed small bug in mail-backup-cron

---
 server/lib/classes/cron.d/100-monitor_disk_usage.inc.php |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/server/lib/classes/cron.d/100-monitor_disk_usage.inc.php b/server/lib/classes/cron.d/100-monitor_disk_usage.inc.php
index 4f7f890..2af4041 100644
--- a/server/lib/classes/cron.d/100-monitor_disk_usage.inc.php
+++ b/server/lib/classes/cron.d/100-monitor_disk_usage.inc.php
@@ -73,8 +73,9 @@
 		//$dfData = shell_exec('df -hT 2>/dev/null');
 		$app->uses('getconf');
 		$web_config = $app->getconf->get_server_config($conf['server_id'], 'web');
-		$dfData = shell_exec('df -hT|grep -v "'.$web_config['website_basedir'].'/" 2>/dev/null');
-
+		
+		$dfData = shell_exec('df -hT -x simfs | awk \'!x[$1]++\' 2>/dev/null');
+		
 		// split into array
 		$df = explode("\n", $dfData);
 

--
Gitblit v1.9.1