On Saturday 24 March 2007 23:04, Marc Perkel wrote: > The learn-spam script looks like this: > > /usr/bin/spamc -d euclid.ctyme.com -x -t 15 -L spam > /dev/null 2> /dev/null > /bin/echo "" > /dev/null > > The echo command is just there so it returns a "0" and exim doesn't > complain. Probably a better way to do that.
It's common to put "|| true" at the end of a command you don't care about the exit status of. Or you could just "exit 0". -- Magnus Holmgren [EMAIL PROTECTED] (No Cc of list mail needed, thanks) "Exim is better at being younger, whereas sendmail is better for Scrabble (50 point bonus for clearing your rack)" -- Dave Evans
pgp2R2b4NU4nl.pgp
Description: PGP signature