Making mount more robust
BUG=skia: TBR=borenet Review URL: https://codereview.chromium.org/1131933007
This commit is contained in:
parent
15877b6eae
commit
4f2dba625d
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user