Exit code broken
In a recent PR, I tried to set the exit code appropriately.

However I assumed that `main()` could return a bool, and that is not correct

`python -c 'import sys; sys.exit(True)'` results in exit code of 1, which is not surprising, but I thought there was special handling for bools.