check if automount worked

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-01-27 11:14:05 +00:00
parent f7987a7da9
commit 74a2dbd14a

View File

@ -26,4 +26,8 @@ start()
# boot2docker compat, has /var and /tmp on partition
[ -d /var/var/lib/boot2docker/ ] && mount --bind /var/var /var
fi
mount | grep -q '/dev/[sxv]da. on /var type'
eend $? "Failed to mount block device"
}