Ok its not exiting with 3 but xmail is ignoring the exit code of 4 and
delivering the infected emails anyway.

Nick Marino wrote:
> Anyone see anything wrong with this line from my shell script?
> This is part of an AV script.
>
> exitReject=[4 + $exit_Code]
>
> Its supposed to add 4 to the exit code stored in $exit_Code which is
> usually 0 and store that total in exitReject so at the end of the
> script when  - > exit $exitReject is excuted the script exits with
> that return code but for some reason it always exits with the number
> 3.
>
> Anyone got any ideas?
>
>
>
>
> ---
> avast! Antivirus: Outbound message clean.
> Virus Database (VPS): 9/19/2003
> Tested on: 9/22/2003 5:26:32 PM
> avast! is copyright (c) 2000-2003 ALWIL Software.
> http://www.avast.com
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe xmail" in
> the body of a message to [EMAIL PROTECTED]
> For general help: send the line "help" in the body of a message to
> [EMAIL PROTECTED]
>
>
>
> ---
> avast! Antivirus: Inbound message clean.
> Virus Database (VPS): 9/19/2003
> Tested on: 9/22/2003 5:28:39 PM
> avast! is copyright (c) 2000-2003 ALWIL Software.
> http://www.avast.com



---
avast! Antivirus: Outbound message clean.
Virus Database (VPS): 9/19/2003
Tested on: 9/23/2003 7:48:55 AM
avast! is copyright (c) 2000-2003 ALWIL Software.
http://www.avast.com



-
To unsubscribe from this list: send the line "unsubscribe xmail" in
the body of a message to [EMAIL PROTECTED]
For general help: send the line "help" in the body of a message to
[EMAIL PROTECTED]

Reply via email to