diff --git a/src/usr/local/www/diag_command.php b/src/usr/local/www/diag_command.php index 5f5e5c56eb..aa07211a7d 100755 --- a/src/usr/local/www/diag_command.php +++ b/src/usr/local/www/diag_command.php @@ -322,7 +322,7 @@ END_FILE; $output = $matches = array(); $retval = 0; - exec("/usr/local/bin/php -d log_errors=off {$tmpfile}", $output, $ret_val); + exec("/usr/local/bin/php -d log_errors=off {$tmpfile}", $output, $retval); puts('

PHP Response

');