From cf7d50a1a1967b780fd6eb96bb22872d54e25150 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Mon, 23 Jan 2017 14:37:02 +0100 Subject: inst/bootsetup: fix unformated esp check (thanks yellow_apple) --- rc/bin/inst/bootplan9 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/bin/inst/bootplan9 b/rc/bin/inst/bootplan9 index 702d5d5a6..ae48bc524 100755 --- 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 -- cgit v1.2.3