mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
d43f0b9fc5
Signed-off-by: Andrew "Tianon" Page <admwiggin@gmail.com>
9 lines
219 B
Bash
9 lines
219 B
Bash
#!/bin/bash
|
|
|
|
for pidFile in $(find "$DEST" -name docker.pid); do
|
|
pid=$(set -x; cat "$pidFile")
|
|
( set -x; kill $pid )
|
|
if ! wait $pid; then
|
|
echo >&2 "warning: PID $pid from $pidFile had a nonzero exit code"
|
|
fi
|
|
done
|