diff options
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 466b599..219da0c 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -419,6 +419,8 @@ function mwexec($command, $mute = false) { } 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' "); |