diff --git a/contrib/push-roles-to-ansible-galaxy.sh b/contrib/push-roles-to-ansible-galaxy.sh index a62583bd8..9fcc38676 100755 --- a/contrib/push-roles-to-ansible-galaxy.sh +++ b/contrib/push-roles-to-ansible-galaxy.sh @@ -76,4 +76,5 @@ for ROLE in $ROLES; do reset_hard_origin done done +trap - EXIT ERR popd &> /dev/null