Skip to content

Commit e8c18c9

Browse files
jmfernandezjohannbg
authored andcommitted
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 input
1 parent d5fd030 commit e8c18c9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules.d/99base/dracut-lib.sh

+3
Original file line numberDiff line numberDiff line change
@@ -599,6 +599,9 @@ label_uuid_to_dev() {
599599
PARTUUID=*)
600600
echo "/dev/disk/by-partuuid/$(echo "${_dev#PARTUUID=}" | tr "[:upper:]" "[:lower:]")"
601601
;;
602+
*)
603+
echo "$_dev"
604+
;;
602605
esac
603606
}
604607

0 commit comments

Comments
 (0)