mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13: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
|
||||
}
|
||||
trap cleanup INT TERM
|
||||
trap cleanup INT TERM EXIT
|
||||
|
||||
dind dockerd &
|
||||
echo "Waiting for Docker in Docker to be ready..."
|
||||
|
||||
Reference in New Issue
Block a user