gen-*.sh: prevent localc from exiting when shell exits