Lib: remove exit statement