From 767a716ecd96105621e239633c04651a02bd8fb8 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 15 Jan 2006 03:33:18 +0000 Subject: Correct warnings and errors found eclipse --- usr/local/www/status.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr/local/www/status.php') 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) { -- cgit v1.1