ftimme
2013-02-19 595c4d9272e738488234ae30d3d71d279160b2ca
- Don't display errors from df output.
1 files modified
2 ■■■ changed files
server/lib/classes/monitor_tools.inc.php 2 ●●● patch | view | raw | blame | history
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);