github.com/lafolle/docker@v1.6.0/hack/make/.integration-daemon-stop (about) 1 #!/bin/bash 2 3 for pidFile in $(find "$DEST" -name docker.pid); do 4 pid=$(set -x; cat "$pidFile") 5 ( set -x; kill $pid ) 6 if ! wait $pid; then 7 echo >&2 "warning: PID $pid from $pidFile had a nonzero exit code" 8 fi 9 done