From 9e7d3bfba5337382f876bbf2de224dd72870601a Mon Sep 17 00:00:00 2001 From: deajan Date: Thu, 2 Oct 2025 12:59:30 +0200 Subject: [PATCH] CLI: Adding a log for pre/post execution commands launch --- npbackup/core/runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/npbackup/core/runner.py b/npbackup/core/runner.py index 2e5acbf..1dd6f7a 100644 --- a/npbackup/core/runner.py +++ b/npbackup/core/runner.py @@ -7,7 +7,7 @@ __intname__ = "npbackup.core.runner" __author__ = "Orsiris de Jong" __copyright__ = "Copyright (C) 2022-2025 NetInvent" __license__ = "GPL-3.0-only" -__build__ = "2025090901" +__build__ = "2025100201" from typing import Optional, Callable, Union, List @@ -1374,6 +1374,7 @@ class NPBackupRunner: ): commands_success = True if command_list: + self.write_logs("Running {}-execution commands".format(exec_type)) for command in command_list: exit_code, output = command_runner( command, shell=True, timeout=per_command_timeout