ref: cf7d50a1a1967b780fd6eb96bb22872d54e25150
parent: 9278b94623bbadcf64c1e3b6feb5f770379e18aa
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Jan 23 09:37:02 EST 2017
inst/bootsetup: fix unformated esp check (thanks yellow_apple)
--- a/rc/bin/inst/bootplan9
+++ b/rc/bin/inst/bootplan9
@@ -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