diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-01-23 14:37:02 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2017-01-23 14:37:02 +0100 |
commit | cf7d50a1a1967b780fd6eb96bb22872d54e25150 (patch) | |
tree | 42b9e35db1be615cbccaeb40da0a3e24e4e179b7 /rc/bin/inst | |
parent | 9278b94623bbadcf64c1e3b6feb5f770379e18aa (diff) | |
download | plan9front-cf7d50a1a1967b780fd6eb96bb22872d54e25150.tar.xz |
inst/bootsetup: fix unformated esp check (thanks yellow_apple)
Diffstat (limited to 'rc/bin/inst')
-rwxr-xr-x | rc/bin/inst/bootplan9 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |