Don't exit(0) on error: exit(1) instead
per recent tor-talk thread, there are several places in our code where we exit(0) on an error, and we should exit(1) instead.
When fixing this, it's a good idea to check every exit(0) to see whether it's an error or an expected exit condition.