You don't really want to exit with a non-zero exit code for success.  If you want to bail out after this call, you should exit(0).