[US119.2] Add missing exit 1 for some error cases.