From: garciadeblas Date: Mon, 16 Sep 2024 15:29:37 +0000 (+0200) Subject: Disable trap during execution of gitea script api.sh X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F66%2F14566%2F1;p=osm%2Fdevops.git Disable trap during execution of gitea script api.sh Change-Id: I972535b529499c3fc0138c2b0cfe8c45abce002f Signed-off-by: garciadeblas --- diff --git a/installers/mgmt-cluster/gitea/admin/api.sh b/installers/mgmt-cluster/gitea/admin/api.sh index 2c635cc8..7c389d40 100755 --- a/installers/mgmt-cluster/gitea/admin/api.sh +++ b/installers/mgmt-cluster/gitea/admin/api.sh @@ -22,9 +22,13 @@ 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