aboutsummaryrefslogtreecommitdiffstats
path: root/config/mailreport
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-05-09 13:30:32 -0400
committerjim-p <jimp@pfsense.org>2014-05-09 13:30:32 -0400
commitc18e6be175e6e0e2939fd8dde7dcd1138a97a0a3 (patch)
tree81d5f61d8e8482af7c7c34a598c8c45872d8ecad /config/mailreport
parent5e99c25048ab4544fd973a1f1cc4d4beccf770ef (diff)
downloadpfsense-packages-c18e6be175e6e0e2939fd8dde7dcd1138a97a0a3.tar.gz
pfsense-packages-c18e6be175e6e0e2939fd8dde7dcd1138a97a0a3.tar.bz2
pfsense-packages-c18e6be175e6e0e2939fd8dde7dcd1138a97a0a3.zip
Correct check
Diffstat (limited to 'config/mailreport')
-rw-r--r--config/mailreport/mail_reports.inc2
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.");