From 6023fac6369c47e218e197d5aca708a1817b90a4 Mon Sep 17 00:00:00 2001 From: Clemens Schwaighofer Date: Wed, 3 Dec 2025 13:05:11 +0900 Subject: [PATCH] Fix trap clanup that also trapped ERR --- borg.backup.functions.init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg.backup.functions.init.sh b/borg.backup.functions.init.sh index f1612f4..cf357fa 100644 --- a/borg.backup.functions.init.sh +++ b/borg.backup.functions.init.sh @@ -6,8 +6,8 @@ if [ -z "${MODULE}" ]; then fi; set -ETu #-e -o pipefail -trap cleanup SIGINT SIGTERM ERR trap error_trap ERR +trap cleanup SIGINT SIGTERM cleanup() { # script cleanup here