Only exit if there are errors

Otherwise, parent processes can't continue.