The return code processing code is currently a little confusing.
1) The text scan will only scan the command output. It will not scan the
original command string.
2) Return codes that define 'Failure' conditions will 'AND' the numeric and
text requirements when both are specified, so BOTH must match to define the