> MrC wrote: > >> Ignore error responses from automated routines is pointless. > >> Why not just disable the mechanism? > > > > In that case, adding $status to your output of your script, > will allow > > you to met your goal of not ignoring the reported error response: > > Eh? Status is a number, nothing more. We know that it's not > 0 or 1, so the exact number isn't important. What is > important is the remaining output from standard error which > is included in the e-mail. >
This is simply false. % man sa-update ... EXIT CODES An exit code of 0 means an update was available, and was downloaded and installed successfully. An exit code of 1 means no fresh updates were available. An exit code of 4 or higher, indicates that errors occurred while attempting to download and extract updates. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/