lint: propagate error return codes