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>
This commit is contained in:

committed by
Junio C Hamano

parent
e1b52cf71e
commit
33b06fa603
@ -56,7 +56,6 @@ group () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
begin_group "CI setup"
|
begin_group "CI setup"
|
||||||
trap "end_group 'CI setup'" EXIT
|
|
||||||
|
|
||||||
# Set 'exit on error' for all CI scripts to let the caller know that
|
# Set 'exit on error' for all CI scripts to let the caller know that
|
||||||
# something went wrong.
|
# something went wrong.
|
||||||
|
Reference in New Issue
Block a user