summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/util.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc
index 3d4354f..022777d 100644
--- a/etc/inc/util.inc
+++ b/etc/inc/util.inc
@@ -357,6 +357,8 @@ function mwexec($command, $mute = true) {
} else {
exec("$command 2>&1", $oarr, $retval);
}
+ if(isset($config['system']['developerspew']))
+ $mute = false;
if(($retval <> 0) && ($mute === false)) {
$output = implode(" ", $oarr);
log_error("The command '$command' returned exit code '$retval', the output was '$output' ");
OpenPOWER on IntegriCloud