Skip to content

Commit 9407a57

Browse files
committed
hack/make: don't attempt to unmount non-existing daemon root-dir
Before: DONE 2 tests in 12.272s ---> Making bundle: .integration-daemon-stop (in bundles/test-integration) umount: bundles/test-integration/root: mountpoint not found After: DONE 2 tests in 14.650s ---> Making bundle: .integration-daemon-stop (in bundles/test-integration) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent d56adcf commit 9407a57

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

hack/make/.integration-daemon-stop

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ if [ ! "$(go env GOOS)" = 'windows' ]; then
1111
echo >&2 "warning: PID $pid from $pidFile had a nonzero exit code"
1212
fi
1313
root=$(dirname "$pidFile")/root
14-
umount "$root" || true
14+
if [ -d "$root" ]; then
15+
umount "$root" || true
16+
fi
1517
done
1618

1719
if [ -z "$DOCKER_TEST_HOST" ]; then

0 commit comments

Comments
 (0)