X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=scripts%2Fplog;fp=scripts%2Fplog;h=7cb53346413d7b52e8ecc6757be0e990bb4beecd;hp=84d2c7340cc64cd4f86ffa9af87504c8055b9c03;hb=2ecc3c7ce01d01e514c8a514b16c45aec1d5613f;hpb=6e8eaa7a78b31cdab2edf140a9c8afdb02ffaca5;ds=sidebyside 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