mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-24 14:11:55 +00:00
Fix uuid retrieve bug (#696)
This commit is contained in:
parent
5eeeec0443
commit
f85074f065
|
@ -21,7 +21,7 @@ select_drive() {
|
||||||
|
|
||||||
# Function to get UUID and FSTYPE of the selected drive
|
# Function to get UUID and FSTYPE of the selected drive
|
||||||
get_uuid_fstype() {
|
get_uuid_fstype() {
|
||||||
UUID=$(blkid -s UUID -o value "${partition}")
|
UUID=$("$ESCALATION_TOOL" blkid -s UUID -o value "${partition}")
|
||||||
FSTYPE=$(lsblk -no FSTYPE "${partition}")
|
FSTYPE=$(lsblk -no FSTYPE "${partition}")
|
||||||
NAME=$(lsblk -no NAME "${partition}")
|
NAME=$(lsblk -no NAME "${partition}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user