X-Git-Url: https://code.delx.au/refind/blobdiff_plain/cf4d4184e6a83cf0784b5f95c1b5e4868384ae0b..bdcf7904f98139ec9e632669cd43005ca527d11c:/mountesp diff --git a/mountesp b/mountesp index 6459199..03dc5c0 100755 --- a/mountesp +++ b/mountesp @@ -50,11 +50,11 @@ MountOSXESP() { fi MountPoint="/Volumes/ESP" mkdir /Volumes/ESP &> /dev/null - mount -t msdos "$Esp" /Volumes/ESP + mount -t msdos "$Esp" $MountPoint # Some systems have HFS+ "ESPs." They shouldn't, but they do. If this is # detected, mount it as such and set appropriate options. if [[ $? != 0 ]] ; then - mount -t hfs "$Esp" /Volumes/Esp + mount -t hfs "$Esp" $MountPoint if [[ $? != 0 ]] ; then echo "Unable to mount ESP!\n" exit 1