mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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 <github@gone.nl>
This commit is contained in:
parent
d56adcf0ec
commit
9407a57522
1 changed files with 3 additions and 1 deletions
|
@ -11,7 +11,9 @@ if [ ! "$(go env GOOS)" = 'windows' ]; then
|
|||
echo >&2 "warning: PID $pid from $pidFile had a nonzero exit code"
|
||||
fi
|
||||
root=$(dirname "$pidFile")/root
|
||||
umount "$root" || true
|
||||
if [ -d "$root" ]; then
|
||||
umount "$root" || true
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$DOCKER_TEST_HOST" ]; then
|
||||
|
|
Loading…
Reference in a new issue