On 9/10/2011 1:23 PM, Pascal Volk wrote:
On 09/10/2011 09:48 AM Pascal Volk wrote:
Something like that:

#!/bin/sh

# do something with the message

# check return code from the last command
if [ $? -ne 0 ]; then
     return 75
fi
return 0
Sorry - use exit instead of return:

        if [ $? -ne 0 ]; then
            exit 75
        fi
        exit 0


Regards,
Pascal
Do I need to to use exit 75

I am using a C program that exits with exit(EXIT_FAILURE)
but that causes the mail to get bounced rather than defer







Reply via email to