diff options
author | jim-p <jimp@pfsense.org> | 2014-05-09 13:30:32 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-05-09 13:30:32 -0400 |
commit | c18e6be175e6e0e2939fd8dde7dcd1138a97a0a3 (patch) | |
tree | 81d5f61d8e8482af7c7c34a598c8c45872d8ecad | |
parent | 5e99c25048ab4544fd973a1f1cc4d4beccf770ef (diff) | |
download | pfsense-packages-c18e6be175e6e0e2939fd8dde7dcd1138a97a0a3.tar.gz pfsense-packages-c18e6be175e6e0e2939fd8dde7dcd1138a97a0a3.tar.bz2 pfsense-packages-c18e6be175e6e0e2939fd8dde7dcd1138a97a0a3.zip |
Correct check
-rw-r--r-- | config/mailreport/mail_reports.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/mailreport/mail_reports.inc b/config/mailreport/mail_reports.inc index 2742844b..0119457a 100644 --- a/config/mailreport/mail_reports.inc +++ b/config/mailreport/mail_reports.inc @@ -1245,7 +1245,7 @@ function mail_report_get_log($logfile, $tail, $grepfor) { } else { if (is_executable("/usr/local/sbin/clog")) { exec("/usr/local/sbin/clog {$logfile}{$grepline}| grep -v \"CLOG\" | grep -v \"\033\" | /usr/bin/tail -n {$tail}", $logarr); - } elseif (is_executable("/usr/local/sbin/clog")) { + } elseif (is_executable("/usr/sbin/clog")) { exec("/usr/sbin/clog {$logfile}{$grepline}| grep -v \"CLOG\" | grep -v \"\033\" | /usr/bin/tail -n {$tail}", $logarr); } else { $logarr = array("Cannot locate clog which is required for reading log files."); |