converted exit(0) to return

An `exit(0)` here does not make sense. I'm assuming this was supposed to be a `return`.