Skip to content

Commit

Permalink
fix: incorrect detection "$boot_dir_real_path" for initramfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Antynea committed Feb 7, 2016
1 parent a4db6a8 commit 28e9524
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 41_snapshots-btrfs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#################################################################################################################################################
# Written by: Antynea #
# #
# Purpose: Include btrfs snapshots at boot options (grub-menu). #
# Purpose: Include btrfs snapshots at boot options (grub-menu). #
# #
# What this script does: #
# - Automatically List snapshots existing on root partition (btrfs). #
Expand Down Expand Up @@ -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}" ...'
Expand Down

0 comments on commit 28e9524

Please sign in to comment.