Revert "Revert "Instead of passing exitcode, exit with 1.""

This reverts commit fd909da967255ad8ea35356758c0e920548e7287.

Revert the revert. I must have remembered it wrong.