ucind: call cleanup on exit as well, e.g. main process crash

This commit is contained in:
Pavel Sviderski
2024-11-29 09:53:20 +10:00
parent bdd034d169
commit d5f0bca4a0
+1 -1
View File
@@ -21,7 +21,7 @@ cleanup() {
# Wait for processes to terminate.
wait
}
trap cleanup INT TERM
trap cleanup INT TERM EXIT
dind dockerd &
echo "Waiting for Docker in Docker to be ready..."