fix #169 only do /tmp bind mount if /Mac/tmp exists

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack 2016-06-03 15:12:03 +01:00
parent 0e89621f76
commit 5d80b5dfcd

View File

@ -49,7 +49,7 @@ start()
export no_proxy="$(mobyconfig get proxy/exclude)"
fi
grep "osxfs /tmp" /etc/mtab -q || mount --bind /Mac/tmp /tmp
grep -q "osxfs /tmp" /etc/mtab || ( [ -d /Mac/tmp ] && mount --bind /Mac/tmp /tmp )
for d in Users Volumes private
do