diff options
Diffstat (limited to 'etc/inc/util.inc')
-rw-r--r-- | etc/inc/util.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/util.inc b/etc/inc/util.inc index 6218c01..cea6998 100644 --- a/etc/inc/util.inc +++ b/etc/inc/util.inc @@ -308,7 +308,7 @@ function mwexec($command) { if ($g['debug']) { if (!$_SERVER['REMOTE_ADDR']) echo "mwexec(): $command\n"; - passthru($command, $retval); + exec("$command > /dev/null 2>&1", $oarr, $retval); } else { exec("$command > /dev/null 2>&1", $oarr, $retval); } |