Fix wrong exit() call.