From 78207d5380d864790ea507916cf7ecdf43ddcb9c Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Mon, 5 Aug 2019 23:55:30 +0000 Subject: [PATCH] hack: unmount leftover daemon root folders Signed-off-by: Tibor Vass (cherry picked from commit 13df617d4cc98fe31f3ded78902119a1c1505005) Signed-off-by: Sebastiaan van Stijn --- hack/make/.integration-daemon-stop | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hack/make/.integration-daemon-stop b/hack/make/.integration-daemon-stop index c1d43e1a5e..63f7f361b4 100644 --- a/hack/make/.integration-daemon-stop +++ b/hack/make/.integration-daemon-stop @@ -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