updated kopia state

This commit is contained in:
Paul 2024-01-03 13:30:31 +01:00
parent ecca76c7b8
commit 7f8fff52da

View File

@ -94,14 +94,14 @@ if __name__ == "__main__":
if not res_init:
print("init error")
sys.exit(1)
if not set_policy():
print("set policy error")
sys.exit(1)
if not set_cache():
print("set cache error")
sys.exit(1)
if args.action == "run":
if not set_policy():
print("set policy error")
sys.exit(1)
if not set_cache():
print("set cache error")
sys.exit(1)
if not run(before_tasks={{ params.before_tasks|default([]) }}):
print("run error")
sys.exit(1)