procmail
[Top] [All Lists]

Re: EXITCODE depening on invoked script (or: fetch return/output of pipe)

2002-04-13 09:08:32
Peter asked,

| I need a way to catch the exitcode of the script and assign it to
| EXITCODE.

 EXITCODE=$?

"$?" has the same meaning to procmail that it does to sh.



_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>