inst/bootsetup: fix unformated esp check (thanks yellow_apple)

front
cinap_lenrek 2017-01-23 14:37:02 +01:00
parent 9278b94623
commit cf7d50a1a1
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# look for esp and format it when not already done
esp=`{ls /dev/$disk/esp >[2]/dev/null}
if(~ $#esp 1 && ! ~ fstype $esp dos){
if(~ $#esp 1 && ! ~ `{fstype $esp} dos){
echo
echo 'Here appears to be a unformated EFI system partition:'
echo ' ' $esp