Gentoo Archives: gentoo-commits

From: "Robin H. Johnson" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/
Date: Sat, 28 May 2022 20:52:32
Message-Id: 1653436307.08c60969a77ae7ce836691b3419429296810b6e8.robbat2@gentoo
1 commit: 08c60969a77ae7ce836691b3419429296810b6e8
2 Author: Dmitry Baranov <reagentoo <AT> gmail <DOT> com>
3 AuthorDate: Tue May 24 23:42:30 2022 +0000
4 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
5 CommitDate: Tue May 24 23:51:47 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=08c60969
7
8 defaults/initrd.scripts: openLUKS(): remove extra bracket in conditional block
9
10 Signed-off-by: Dmitry Baranov <reagentoo <AT> gmail.com>
11
12 defaults/initrd.scripts | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
16 index eb556d6..7012356 100644
17 --- a/defaults/initrd.scripts
18 +++ b/defaults/initrd.scripts
19 @@ -1848,7 +1848,7 @@ openLUKS() {
20 good_msg "The LUKS device ${LUKS_DEVICE} meanwhile was opened by someone else."
21 break
22 # if crypt_silent=1 and some error occurs, enter shell quietly
23 - elif [ \( ${CRYPT_SILENT} -eq 1 \) -a \( \( \( ${DEV_ERROR} -eq 1 \) \) ]
24 + elif [ \( ${CRYPT_SILENT} -eq 1 \) -a \( \( ${DEV_ERROR} -eq 1 \) \) ]
25 then
26 run_emergency_shell
27 elif [ \( ${CRYPT_SILENT} -eq 1 \) -a \( \( \( ${HEADER_ERROR} -eq 1 \) \) -o \( ${HEADERDEV_ERROR} -eq 1 \) \) ]