Use non-zero exit status for expressing failure

This PR is an improvement following #117.