Dave G wrote:
Hi all
I'm getting the following error when cron daily runs, no luck so far at fixing the checkrr error, any ideas??
/etc/cron.daily/smail:
expr: warning: unportable BRE: `^uid=0(root)': using `^' as the first character
of the basic regular expression is not portable; it is being ignored
checkerr: ERROR: you must be root to do this!
Hi Dave,
You don't need an ^ in an expression to anchor it to the start of the line. 0 wild characters/patterns at the start of the expression does this for you.
Does this make sense in your case?
Steve