Ensuring exit status is always set, even when 0 isn't