Fix uuid retrieve bug (#696)

This commit is contained in:
JEEVITHA KANNAN K S 2024-10-01 03:48:46 +05:30 committed by GitHub
parent 5eeeec0443
commit f85074f065
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@ select_drive() {
# Function to get UUID and FSTYPE of the selected drive
get_uuid_fstype() {
UUID=$(blkid -s UUID -o value "${partition}")
UUID=$("$ESCALATION_TOOL" blkid -s UUID -o value "${partition}")
FSTYPE=$(lsblk -no FSTYPE "${partition}")
NAME=$(lsblk -no NAME "${partition}")