I have an application that I want to use as a filter
but I also need to capture the exit code.
The problem right now is that if EXITCODE >0 then there is nothing
that comes out of the filter.
I can do:
:0 fw:
| foo-script
EXITCODE = $=
What I need to do next is if EXITCODE <> 0, HALT.
I was king of hoping that if nothing came out of the filter it
would not result in the immediate corruption of my mailbox.
Which it did...
--
MSDOS is not dead, it just smells that way.
-- Henry Spencer
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail