Issue #27: better non-zero exit status checking?