From 5157a92139b04fef32d38498815084a27adcd758 Mon Sep 17 00:00:00 2001 From: Sam Doran Date: Wed, 20 May 2020 16:27:49 -0400 Subject: [PATCH] Remove exit code from traps in tests Having the trap exit with a specific code will override the exit code that caused the trap to run, which could mask errors --- .../targets/incidental_inventory_docker_swarm/runme.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/test/integration/targets/incidental_inventory_docker_swarm/runme.sh b/test/integration/targets/incidental_inventory_docker_swarm/runme.sh index e2ba6869e83..b93d386ae1c 100755 --- a/test/integration/targets/incidental_inventory_docker_swarm/runme.sh +++ b/test/integration/targets/incidental_inventory_docker_swarm/runme.sh @@ -8,7 +8,6 @@ cleanup() { echo "Cleanup" ansible-playbook playbooks/swarm_cleanup.yml echo "Done" - exit 0 } trap cleanup INT TERM EXIT