Rubocop

do not merge yet, just source for discussion.
`ret &&= out["exit"].zero?` would be better IMHO...