>
> > I have a cron task set up using lockf.
> >
> > I'd like to redirect one exit status to /dev/null :
>
I think that the exit status of a command will be after any output of the
command to stderr or stdout.  So first it will say "This is wrong" and then
it will exit giving you the exit code.

The only thing I can think of is to write a wrapper script which in effect
parses out the error message  for example:
command | grep -v "offending message" > logfile

Regards
Riaan
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to