Re: [Rkhunter-users] Updating grep breaks RKHunter?
Brought to you by:
dogsbody
From: Nils B. (Lemonbit) <ni...@le...> - 2007-01-14 16:53:37
|
Chris Pollock wrote: > I saw this in my cronjob output folder this morning. > > Cron <root@cpollock> /usr/local/bin/rkhunter --cronjob -- > createlogfile -c > Date: Sun Jan 14 05:00:00 2007 > From: Cron Daemon <cpo...@ea...> > To: root@cpollock.localdomain > > No logfile given: using default. > /usr/local/bin/rkhunter: line 3239: syntax error near unexpected > token `(' > /usr/local/bin/rkhunter: line 3239: > ` if [ -z "`echo $ > {WHITEPROC} | > egrep \"${lproc}( |$)\"`" ]; then' > > What I should have seen is the log output. I updated grep yesterday > to version > 2.5.1a from source. Could I have messed something up somehow? Do you also have egrep? egrep is 'short' for 'grep -E', you could try if it works when you replace egrep with grep -E. Nils Breunese. |