removed a redundant code line

exit is already called one line up.