Add missing return

This commit is contained in:
Orsiris de Jong 2023-12-28 00:33:45 +01:00
parent 14d950427e
commit 42769607d1

View file

@ -813,6 +813,7 @@ class ResticRunner:
return None
if subject not in ["index", "snapshots"]:
self.write_logs(f"Bogus repair order given: {subject}", level="error")
return False
cmd = f"repair {subject}"
result, output = self.executor(cmd)
if result: