[US119.2] Add missing exit 1 for some error cases.
[US119.2] Make sure recovery file is regenerated during update.