mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
ucind: call cleanup on exit as well, e.g. main process crash
This commit is contained in:
@@ -21,7 +21,7 @@ cleanup() {
|
|||||||
# Wait for processes to terminate.
|
# Wait for processes to terminate.
|
||||||
wait
|
wait
|
||||||
}
|
}
|
||||||
trap cleanup INT TERM
|
trap cleanup INT TERM EXIT
|
||||||
|
|
||||||
dind dockerd &
|
dind dockerd &
|
||||||
echo "Waiting for Docker in Docker to be ready..."
|
echo "Waiting for Docker in Docker to be ready..."
|
||||||
|
|||||||
Reference in New Issue
Block a user