1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Force removal of docker container after test ends

This commit is contained in:
James Cammarata 2016-03-22 11:45:26 -04:00
parent 18599047cd
commit 9a2c1cf94d

View file

@ -17,6 +17,6 @@ else
docker kill $(cat /tmp/cid_${TARGET})
if [ "X${TESTS_KEEP_CONTAINER}" = "X" ]; then
docker rm "${C_NAME}"
docker rm -f "${C_NAME}"
fi
fi