Fixed missing device resolve on formatting

This commit is contained in:
oddlama 2020-04-22 12:28:47 +02:00
parent 3f80df8695
commit 8a0f83b4e9
No known key found for this signature in database
GPG Key ID: 88EA325D51D53908
1 changed files with 1 additions and 0 deletions

View File

@ -288,6 +288,7 @@ disk_format() {
return 0
fi
local device="$(resolve_id_to_device "$id")"
einfo "Formatting $device ($id) with $type"
case "$type" in
'bios'|'efi')