I think you're describing the way it already works. If there's both a TEMP and a FAIL condition, worstcase returns TEMP.
But I spoke of an OK and a FAIL. Worstcase will then return a FAIL (which is reasonable I think). From dsn.c:
[...]
/* 2.. */ "Success",
/* 4.. */ "Persistent Transient Failure",
/* 5.. */ "Permanent Failure"
[...]
else if (has_2 && !has_4 && has_5) /* 2 and 5 */
exitcode = DSN_CLASS_FAIL;
But, you don't want to believe me, do you? ;-)
Best regards,
Michael
