From 1405c9265987e4f7ae679a22fea7ea2083f34b84 Mon Sep 17 00:00:00 2001 From: Emmanuel Nyachoke Date: Wed, 6 Nov 2024 15:15:10 +0000 Subject: [PATCH] Exit restore with code --- src/restic_compose_backup/restore_cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/restic_compose_backup/restore_cli.py b/src/restic_compose_backup/restore_cli.py index a65828b..3e80581 100644 --- a/src/restic_compose_backup/restore_cli.py +++ b/src/restic_compose_backup/restore_cli.py @@ -161,6 +161,7 @@ def restore(config, containers): body=open('restore.log').read(), alert_type='ERROR', ) + exit(result) def start_restore_process(config, containers):