diff --git a/resources/grub/config/grub.cfg b/resources/grub/config/grub.cfg index 69ac35f..19d2165 100644 --- a/resources/grub/config/grub.cfg +++ b/resources/grub/config/grub.cfg @@ -136,8 +136,8 @@ menuentry 'Load Operating System (incl. fully encrypted disks) [o]' --hotkey='o set pager=0 echo -n "Attempting to unlock encrypted volumes" - for dev in ${ahcidev} ${atadev} ${raidvol}; do - if cryptomount "${dev}" ; then break ; fi + for device in ${ahcidev} ${atadev} ${raidvol}; do + if cryptomount "${device}" ; then break ; fi done for device in (*) ; do