Redmine#5986: fix to assume all non-specified return codes are failed
Merge pull request #1737 from tzz/bugfix/redmine5987-unspecified-return-codes-are-repaired

Redmine#5986: fix to assume all non-specified return codes are failed