Using "exit" without setting a value did return 0, however using exit on line 27 returned 1. Rather than relying on developers to understand the nuances of how exit infers it's exit code we figured it was safer to be explicit.