From 71acf0c101aac65de71c0d2b45b38e55ecbffcf2 Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Tue, 19 Feb 2013 09:09:12 -0500 Subject: [PATCH] - Fixed FS#2678 - Error message whith mailman while updating ispconfg. --- server/lib/classes/monitor_tools.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/lib/classes/monitor_tools.inc.php b/server/lib/classes/monitor_tools.inc.php index bfe0df2..68cb55d 100644 --- a/server/lib/classes/monitor_tools.inc.php +++ b/server/lib/classes/monitor_tools.inc.php @@ -485,7 +485,7 @@ $state = 'ok'; /** Fetch the data of ALL devices into a array (needed for monitoring!) */ - $dfData = shell_exec('df -hT'); + $dfData = shell_exec('df -hT 2>/dev/null'); // split into array $df = explode("\n", $dfData); -- Gitblit v1.9.1