/etc/cron.daily/sa-update failure?

Glenn Steen glenn.steen at gmail.com
Tue May 9 09:18:06 IST 2006


On 09/05/06, Glenn Steen <glenn.steen at gmail.com> wrote:
(itiod me, strikes again....:-)
> #!/bin/sh
> /path/to/script params
> case $? in
>   0|1) ;;
should be
  0|1) exit 0 ;;

>   *) return <whatever> ;;
should be
 *) exit 1 ;;
or even preserving the actual return value from sa-update...:-)

> esac
> # EoS
> should do:-)
>
(clearly a case of 1) too little coffee, and 2) brain not
communicating with fingers...:-)
--
-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se


More information about the MailScanner mailing list