Only exit if there are errors

Otherwise, parent processes can't continue.
Merge pull request #1434 from jcrossley3/patch-1

Only exit if there are errors