github.com/adxhyt/docker@v1.4.2-0.20150117221845-467b7c821390/project/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