Making mount more robust

BUG=skia:
TBR=borenet

Review URL: https://codereview.chromium.org/1131933007
This commit is contained in:
stephana 2015-05-18 13:50:05 -07:00 committed by Commit bot
parent 15877b6eae
commit 4f2dba625d

View File

@ -82,7 +82,7 @@ ios_mount() {
# If this is already mounted we unmount it. # If this is already mounted we unmount it.
if $(mount | grep --quiet "$IOS_MOUNT_POINT"); then if $(mount | grep --quiet "$IOS_MOUNT_POINT"); then
>&2 echo "Device already mounted at: $IOS_MOUNT_POINT - Unmounting." >&2 echo "Device already mounted at: $IOS_MOUNT_POINT - Unmounting."
ios_umount ios_umount || true
fi fi
# Ensure there is a mount directory. # Ensure there is a mount directory.