mirror of
https://github.com/netinvent/npbackup.git
synced 2024-11-10 17:15:28 +08:00
Add missing return
This commit is contained in:
parent
14d950427e
commit
42769607d1
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue