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 <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Patrick Steinhardt committed Dec 12, 2024 at 07:47 UTC 33b06fa603958ba936ea7602c9b81d10ffcd08bb
1 file changed -1
ci/lib.sh
-1
@@ -56,7 +56,6 @@ group () {
56 }
57
58 begin_group "CI setup"
59 -trap "end_group 'CI setup'" EXIT
59
60 # Set 'exit on error' for all CI scripts to let the caller know that
61 # something went wrong.