gnuboot-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH v1 5/5] resources: grub: config: unify dev and devices variables.


From: Denis 'GNUtoo' Carikli
Subject: [PATCH v1 5/5] resources: grub: config: unify dev and devices variables.
Date: Fri, 13 Dec 2024 14:58:51 +0100

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
---
 resources/grub/config/grub.cfg | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/resources/grub/config/grub.cfg b/resources/grub/config/grub.cfg
index 69ac35fb..19d21658 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
-- 
2.46.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]