From: garciadeblas Date: Thu, 19 Sep 2024 10:39:07 +0000 (+0200) Subject: Revert "Disable trap during execution of gitea script api.sh" X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=3b7b55c9a03f4c6d5b35a0a6977c0162961fae7c;p=osm%2Fdevops.git Revert "Disable trap during execution of gitea script api.sh" This reverts commit 9059f35240e787598d699a8a76be23c42711362d. Change-Id: Ia1ad639911a83d6e1adb794716216451ed0f8371 Signed-off-by: garciadeblas --- 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