Skip to content

Commit

Permalink
Merge pull request #14 from Antynea/v1.xx
Browse files Browse the repository at this point in the history
fix: incorrect detection "$boot_dir_real_path" for initramfs
  • Loading branch information
Antynea committed Feb 15, 2016
2 parents 8fffc13 + 28e9524 commit 52ab9db
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 52ab9db

Please sign in to comment.