set exit code to 1 on rollback