]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci/lib: remove duplicate trap to end "CI setup" group
authorPatrick Steinhardt <ps@pks.im>
Thu, 12 Dec 2024 06:47:15 +0000 (07:47 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Dec 2024 07:57:21 +0000 (16:57 +0900)
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 <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
ci/lib.sh

index 74b430be2387ac1af2fc382e158cdd36df70b9d4..de3a95cea19dc36dcb86c2f005431737dd883e90 100755 (executable)
--- 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.