From 42769607d1ca240baef4aae40a9f73580c48a8bd Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Thu, 28 Dec 2023 00:33:45 +0100 Subject: [PATCH] Add missing return --- npbackup/restic_wrapper/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/npbackup/restic_wrapper/__init__.py b/npbackup/restic_wrapper/__init__.py index 50de5ce..37374c9 100644 --- a/npbackup/restic_wrapper/__init__.py +++ b/npbackup/restic_wrapper/__init__.py @@ -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: