diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-02-22 21:59:38 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-02-22 21:59:38 +0000 |
commit | 51615fd37a8f18cf5fc6218b0fbc24609b4810cc (patch) | |
tree | 008ae88a617290c2a111134f9a3e22b61f8c8caa | |
parent | fca49d2bb843dbc8831aa942c3834678884e998c (diff) | |
download | pfsense-51615fd37a8f18cf5fc6218b0fbc24609b4810cc.zip pfsense-51615fd37a8f18cf5fc6218b0fbc24609b4810cc.tar.gz |
Woops, dont grep for CLOG, inverse grep.
Pointy-hat-with-wings-to: ME
-rwxr-xr-x | usr/local/www/guiconfig.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index e761c3b..15f3ea3 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -556,7 +556,7 @@ function dump_clog($logfile, $tail, $withorig = true, $grepfor = "", $grepinvert global $g, $config; $sor = isset($config['syslog']['reverse']) ? "-r" : ""; $logarr = ""; - exec("/usr/sbin/clog {$logfile} | grep \"CLOG\" | grep -v \"\033\" | /usr/bin/tail {$sor} -n {$tail}", $logarr); + exec("/usr/sbin/clog {$logfile} | grep -v \"CLOG\" | grep -v \"\033\" | /usr/bin/tail {$sor} -n {$tail}", $logarr); if(is_array($grepfor)) { $i = 0; |