Commit 0a0ca4f6 authored by Marius Cramer's avatar Marius Cramer

Fixed warning message on openSuse due to apache2 module check

parent 922807a9
......@@ -865,7 +865,7 @@ function getapachemodules() {
return array();
}
exec($cmd, $output, $return_var);
exec($cmd . ' 2>/dev/null', $output, $return_var);
if($return_var != 0 || !$output[0]) {
$app->log("Could not check apache modules, apachectl did not return any data.", LOGLEVEL_WARN);
return array();
......
......@@ -1770,7 +1770,7 @@ class system{
return array();
}
exec($cmd, $output, $return_var);
exec($cmd . ' 2>/dev/null', $output, $return_var);
if($return_var != 0 || !$output[0]) {
$app->log("Could not check apache modules, apachectl did not return any data.", LOGLEVEL_WARN);
return array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment