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
This commit is contained in:
Sam Doran 2020-05-20 16:27:49 -04:00 committed by Matt Clay
parent 3a18ef7159
commit 5157a92139

View file

@ -8,7 +8,6 @@ cleanup() {
echo "Cleanup"
ansible-playbook playbooks/swarm_cleanup.yml
echo "Done"
exit 0
}
trap cleanup INT TERM EXIT