Revert "Ignore changing variable from array to usage"

This reverts commit 717731267da1f40da5c9866f385fe688d4dd417b.
This commit is contained in:
Amin Vakil 2022-01-11 09:31:47 +03:30
parent ca85d56f4b
commit 942b773047
No known key found for this signature in database
GPG Key ID: 1EFC1864E9D9E56B
1 changed files with 0 additions and 3 deletions

View File

@ -479,12 +479,9 @@ collect_system_info () {
--noheadings) ||
exit_message "Can't find EFI mount. No EFI boot detected."
kname=$(lsblk -dno kname "$efi_mount")
# shellcheck disable=SC2178
efi_disk=$(lsblk -dno pkname "/dev/$kname")
# shellcheck disable=SC2128
if [[ $efi_disk ]]; then
# shellcheck disable=SC2178
efi_partition=$(<"/sys/block/$efi_disk/$kname/partition")
else
# This is likely an md-raid or other type of virtual disk, we need