fix: incorrect detection "$boot_dir_real_path" for initramfs

This commit is contained in:
Antynea
2016-02-08 00:01:42 +01:00
parent a4db6a8870
commit 28e9524ca5
+1 -1
View File
@@ -140,7 +140,7 @@ snapshots_entry()
if [ -f "$(boot_dir)"/"${u}" ] ; then
echo "\
echo 'Loading Microcode & Initramfs: "${u}" "${i}" ...'
initrd \"${boot_dir_real_path}/"${u}"\" \"/"${snap_dir_name}"/boot/"${i}"\""
initrd \"${boot_dir_real_path}/"${u}"\" \"${boot_dir_real_path}/"${i}"\""
else
echo "\
echo 'Loading Initramfs: "${i}" ...'