Change all return code on errors to 1.