This should be `exit 0` for `EOFError` - that is, I think `EOFError` is <kbd>ctrl</kbd><kbd>d</kbd>, and I know that <kbd>ctrl</kbd><kbd>d</kbd> should be a `0` (successful) exit.