diff options
author | NewEraCracker <neweracracker@gmail.com> | 2016-04-30 18:33:46 +0100 |
---|---|---|
committer | NewEraCracker <neweracracker@gmail.com> | 2016-04-30 18:33:46 +0100 |
commit | 918f0a9469aa05a9300a25c2ca60e2be83411226 (patch) | |
tree | 7d69d1d32208e96d9c9f78545fd019a5761a8a06 /src/usr/local/www/index.php | |
parent | 09c7fae46d2757815c1e4e5ead7c9896783e7013 (diff) | |
download | pfsense-918f0a9469aa05a9300a25c2ca60e2be83411226.zip pfsense-918f0a9469aa05a9300a25c2ca60e2be83411226.tar.gz |
Fix Redmine #6097
Replace '/usr/bin/grep -vi warning' with '/bin/cat'
Diffstat (limited to 'src/usr/local/www/index.php')
-rw-r--r-- | src/usr/local/www/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/index.php b/src/usr/local/www/index.php index f53769d..1f2eac0 100644 --- a/src/usr/local/www/index.php +++ b/src/usr/local/www/index.php @@ -90,7 +90,7 @@ if ($g['disablecrashreporter'] != true) { // Check to see if we have a crash report $x = 0; if (file_exists("/tmp/PHP_errors.log")) { - $total = `/usr/bin/grep -vi warning /tmp/PHP_errors.log | /usr/bin/wc -l | /usr/bin/awk '{ print $1 }'`; + $total = `/bin/cat /tmp/PHP_errors.log | /usr/bin/wc -l | /usr/bin/awk '{ print $1 }'`; if ($total > 0) { $x++; } |