mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 13:06:11 +01:00

[BUGFIX] Clean up network after invalid command (#1411)

Fixes #1312
This commit is contained in:
Eike Starkmann 2024-07-31 18:32:25 +02:00 committed by GitHub
parent ae5c3e31d5
commit 497dde4179
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -658,6 +658,11 @@ case ${TEST_SUITE} in
echo "Invalid -s option argument ${TEST_SUITE}" >&2
echo >&2
echo "${HELP}" >&2
if [ ${CONTAINER_BIN} = "docker" ]; then
${CONTAINER_BIN} network rm ${NETWORK} >/dev/null
else
${CONTAINER_BIN} network rm -f ${NETWORK} >/dev/null
fi
exit 1
;;
esac