diff options
Diffstat (limited to 'usr/local/www/status.php')
-rwxr-xr-x | usr/local/www/status.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/status.php b/usr/local/www/status.php index 287c1a3..f33e171 100755 --- a/usr/local/www/status.php +++ b/usr/local/www/status.php @@ -37,6 +37,8 @@ function doCmdT($title, $command) { } fclose($fd); } else { + $execOutput = ""; + $execStatus = ""; exec ($command . " 2>&1", $execOutput, $execStatus); for ($i = 0; isset($execOutput[$i]); $i++) { if ($i > 0) { |