X-Git-Url: https://code.delx.au/refind/blobdiff_plain/69ed07437a519caffe15692f527f47cc2297f0b5..1dde20f5fa424bacf15aa215e7df2be69a2bdd36:/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