sa-update daily error

Ken A ka at pacific.net
Mon May 22 23:10:17 UTC 2006


Hi,
remove the $ from the front of the first line.

...A perl guy writing shell script gotcha

Ken
Pacific.Net

>> $Disabled = 1;
>> 
>> exit if $Disabled;
>> 





Michael Mansour wrote:
> Hi,
> 
> I recently upgraded to mailscanner 4.54.2-2, and now get the error below:
> 
> /etc/cron.daily/sa-update:
> 
> /etc/cron.daily/sa-update: line 8: =: command not found
> /etc/cron.daily/sa-update: line 10: exit: if: numeric argument required
> 
> The relevant lines in this file are:
> 
> $Disabled = 1;
> 
> exit if $Disabled;
> 
> I'm running Scientific Linux 4.2 (RHEL4 U2).
> 
> Any ideas?
> 
> Michael.
> 



More information about the MailScanner-Beta mailing list