mirror of
https://github.com/docker/docker-agent.git
synced 2026-11-06 15:07:58 +00:00
11 lines
249 B
Bash
Executable File
11 lines
249 B
Bash
Executable File
#!/bin/sh
|
|
dir=${0%/*}
|
|
if [ -f "$dir/wait" ]; then
|
|
printf '%s\n' '{"type":"thread.started","thread_id":"canceled-thread"}'
|
|
exec sleep 30
|
|
fi
|
|
printf '%s\n' "$@" > "$dir/args"
|
|
cat "$dir/events.jsonl"
|
|
read -r status < "$dir/exit-code"
|
|
exit "$status"
|