RE: return codes2004-02-27 09:41:59Correction:
Got a little crazy with the $-sign there. It doesn't hurt anything,
but isn't needed either. Rewrite:
:0
* ! ? razor-check
{
RC=$?
:0
* -1^0
* $ $RC^0
{ ONE_OR_MORE = yes } # Return code is > 1
:0
* RC ?? ^^1^^
{ EXACTLY_ONE = yes } # Return code is exactly 1
}
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
|
|
||||||||||||||||