def do_exit(actions):
    for action_group in actions:
        if len(action_group.destroy) > 0:
            raise SystemExit(1)
If resources are destroyed, the operation is considered to have failed.
dataset/ETHPy150Open ClusterHQ/flocker/admin/cleanup.py/do_exit