Skip to content

Commit 15004d7

Browse files
committed
Use the actual detected device path in grub 1 device path detection
1 parent 6cef63d commit 15004d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kexec-reboot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def device_map_to_mount_point(device, device_map)
5555
return nil
5656
end
5757
end
58-
device_to_mount_point("#{mount_point[1]}#{mount_point_part}")
58+
device_to_mount_point(device_path)
5959
end
6060

6161
# Find a mount point given the device UUID

0 commit comments

Comments
 (0)