summaryrefslogtreecommitdiff
path: root/scripts/plog
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/plog')
-rw-r--r--scripts/plog2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/plog b/scripts/plog
index 84d2c73..7cb5334 100644
--- a/scripts/plog
+++ b/scripts/plog
@@ -3,5 +3,5 @@
if [ -s /var/log/ppp.log ]; then
exec tail "$@" /var/log/ppp.log
else
- exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
+ exec grep ' \(pppd\|chat\)\[' /var/log/syslog | tail "$@"
fi