commit:     08c60969a77ae7ce836691b3419429296810b6e8
Author:     Dmitry Baranov <reagentoo <AT> gmail <DOT> com>
AuthorDate: Tue May 24 23:42:30 2022 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue May 24 23:51:47 2022 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=08c60969

defaults/initrd.scripts: openLUKS(): remove extra bracket in conditional block

Signed-off-by: Dmitry Baranov <reagentoo <AT> gmail.com>

 defaults/initrd.scripts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index eb556d6..7012356 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -1848,7 +1848,7 @@ openLUKS() {
                        good_msg "The LUKS device ${LUKS_DEVICE} meanwhile was 
opened by someone else."
                        break
                # if crypt_silent=1 and some error occurs, enter shell quietly
-               elif [ \( ${CRYPT_SILENT} -eq 1 \) -a \( \( \( ${DEV_ERROR} -eq 
1 \) \) ]
+               elif [ \( ${CRYPT_SILENT} -eq 1 \) -a \( \( ${DEV_ERROR} -eq 1 
\) \) ]
                then
                        run_emergency_shell
                elif [ \( ${CRYPT_SILENT} -eq 1 \) -a \( \( \( ${HEADER_ERROR} 
-eq 1 \) \) -o \( ${HEADERDEV_ERROR} -eq 1 \) \) ]

Reply via email to