summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/crash_reporter.php
diff options
context:
space:
mode:
authorNewEraCracker <neweracracker@gmail.com>2016-04-30 18:33:46 +0100
committerNewEraCracker <neweracracker@gmail.com>2016-04-30 18:33:46 +0100
commit918f0a9469aa05a9300a25c2ca60e2be83411226 (patch)
tree7d69d1d32208e96d9c9f78545fd019a5761a8a06 /src/usr/local/www/crash_reporter.php
parent09c7fae46d2757815c1e4e5ead7c9896783e7013 (diff)
downloadpfsense-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/crash_reporter.php')
-rw-r--r--src/usr/local/www/crash_reporter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/crash_reporter.php b/src/usr/local/www/crash_reporter.php
index 3542d96..e8918b3 100644
--- a/src/usr/local/www/crash_reporter.php
+++ b/src/usr/local/www/crash_reporter.php
@@ -96,7 +96,7 @@ $crash_report_header .= php_uname("r") . "\n";
$crash_report_header .= php_uname("v") . "\n";
$crash_report_header .= "\nCrash report details:\n";
-exec("/usr/bin/grep -vi warning /tmp/PHP_errors.log", $php_errors);
+exec("/bin/cat /tmp/PHP_errors.log", $php_errors);
if ($_POST['Submit'] == "Yes") {
echo gettext("Processing...");
OpenPOWER on IntegriCloud