From 0d2298e2f4136b5c5d9f23f5b00f8bfb1b58cd35 Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Thu, 19 Sep 2024 12:39:07 +0200 Subject: [PATCH] Revert "Disable trap during execution of gitea script api.sh" This reverts commit 9059f35240e787598d699a8a76be23c42711362d. Change-Id: Ia1ad639911a83d6e1adb794716216451ed0f8371 Signed-off-by: garciadeblas --- installers/mgmt-cluster/gitea/admin/api.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/installers/mgmt-cluster/gitea/admin/api.sh b/installers/mgmt-cluster/gitea/admin/api.sh index 7c389d40..2c635cc8 100755 --- a/installers/mgmt-cluster/gitea/admin/api.sh +++ b/installers/mgmt-cluster/gitea/admin/api.sh @@ -22,13 +22,9 @@ set -ex HERE=$(dirname "$(readlink --canonicalize "$BASH_SOURCE")") . "$HERE/../library/functions.sh" -# . "$HERE/../library/trap.sh" +. "$HERE/../library/trap.sh" . "$HERE/../library/helpers.sh" -# Disable trap in this script -trap - INT -trap - EXIT - SERVER_URL=$1 TOKEN=$2 VERB=$3 -- 2.25.1