hack: unmount leftover daemon root folders

Signed-off-by: Tibor Vass <tibor@docker.com>
This commit is contained in:
Tibor Vass 2019-08-05 23:55:30 +00:00 committed by Andrew Hsu
parent 251c8dca28
commit 13df617d4c
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ if [ ! "$(go env GOOS)" = 'windows' ]; then
if ! wait "$pid"; then
echo >&2 "warning: PID $pid from $pidFile had a nonzero exit code"
fi
root=$(dirname "$pidFile")/root
umount "$root" || true
done
if [ -z "$DOCKER_TEST_HOST" ]; then