aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bsdinstall/scripts/zfsboot
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/bsdinstall/scripts/zfsboot')
-rwxr-xr-xusr.sbin/bsdinstall/scripts/zfsboot2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index 56af9eccd78b..a98cf4a33f28 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -868,7 +868,7 @@ zfs_create_diskpart()
# We'll configure the ESP in bootconfig
if [ -z "$efibootpart" ]; then
- efibootpart="/dev/$(echo $justaddedpart | cut -f 1 -d ' ')"
+ efibootpart="/dev/gpt/efiboot$index"
f_dprintf "$funcname: configuring ESP at [%s]" \
"${efibootpart}"