[Mimedefang] filter_cleanup question
Kevin A. McGrail
KMcGrail at PCCC.com
Fri Sep 26 10:52:37 EDT 2014
On 9/26/2014 10:01 AM, David F. Skoll wrote:
>> From looking at the code, I think maybe I should have a return
>> status on my function so I've added return 0; If I'm right, I think
>> perhaps the man page could be a bit more effusive on that point?
> Well, it currently reads:
>
> The return value from filter_cleanup becomes the slave's exit
> status.
>
> I guess I can change it to:
>
> The return value from filter_cleanup becomes the slave's exit
> status, so make sure filter_cleanup returns an integer suitable for
> a process exit status.
>
I agree it's there. It just seemed easy to gloss over. Perhaps an
example such as return 0 for ok and anything else for an error ;-) Or
even a little mini-stub in an example filter.
regards,
KAM
More information about the MIMEDefang
mailing list