From: Patrick Steinhardt Date: Thu, 12 Dec 2024 06:47:15 +0000 (+0100) Subject: ci/lib: remove duplicate trap to end "CI setup" group X-Git-Tag: v2.48.0-rc1~22^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=33b06fa603958ba936ea7602c9b81d10ffcd08bb;p=thirdparty%2Fgit.git ci/lib: remove duplicate trap to end "CI setup" group We exlicitly trap on EXIT in order to end the "CI setup" group. This isn't necessary though given that `begin_group ()` already sets up the trap for us. Remove the duplicate trap. Signed-off-by: Patrick Steinhardt Signed-off-by: Junio C Hamano --- diff --git a/ci/lib.sh b/ci/lib.sh index 74b430be23..de3a95cea1 100755 --- a/ci/lib.sh +++ b/ci/lib.sh @@ -56,7 +56,6 @@ group () { } begin_group "CI setup" -trap "end_group 'CI setup'" EXIT # Set 'exit on error' for all CI scripts to let the caller know that # something went wrong.