Handle errors with a exit code of 1, to make sure we don't cause issues for sshd