return exitcode of 1 in case of rollback