X-Git-Url: https://code.delx.au/refind/blobdiff_plain/228291e22c232b9d428feefcd3a1a4b4081ae795..f27ce23381e3d1c3bc4f37d74fb6e70a3babc5dd:/install.sh diff --git a/install.sh b/install.sh index 67df9ee..50748d3 100755 --- a/install.sh +++ b/install.sh @@ -765,7 +765,7 @@ FindMountedESP() { InstallDir=`echo $EspLine | cut -d " " -f 6` if [[ -n "$InstallDir" ]] ; then - EspFilesystem=`grep "$InstallDir" /etc/mtab | uniq | grep -v autofs | cut -d " " -f 3` + EspFilesystem=`grep -w "$InstallDir" /etc/mtab | uniq | grep -v autofs | cut -d " " -f 3` fi if [[ $EspFilesystem != 'vfat' ]] ; then FindLinuxESP