fix(base): add default device choice
when the device is no one of the previous patterns, substitute the empty default by the input, to return the same inputmaster
parent
d5fd030cc2
commit
e8c18c9f7f
|
@ -599,6 +599,9 @@ label_uuid_to_dev() {
|
|||
PARTUUID=*)
|
||||
echo "/dev/disk/by-partuuid/$(echo "${_dev#PARTUUID=}" | tr "[:upper:]" "[:lower:]")"
|
||||
;;
|
||||
*)
|
||||
echo "$_dev"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue