aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Baranov <reagentoo@gmail.com>2022-05-25 02:42:30 +0300
committerDmitry Baranov <reagentoo@gmail.com>2022-05-25 02:51:47 +0300
commit08c60969a77ae7ce836691b3419429296810b6e8 (patch)
tree563aa260309173803d4395d146549a38b446041d /defaults
parentgenkernel: add keyctl support for loading LUKS passphrase into a keyring (diff)
downloadgenkernel-08c60969a77ae7ce836691b3419429296810b6e8.tar.gz
genkernel-08c60969a77ae7ce836691b3419429296810b6e8.tar.bz2
genkernel-08c60969a77ae7ce836691b3419429296810b6e8.zip
defaults/initrd.scripts: openLUKS(): remove extra bracket in conditional block
Signed-off-by: Dmitry Baranov <reagentoo@gmail.com>
Diffstat (limited to 'defaults')
-rw-r--r--defaults/initrd.scripts2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index eb556d6e..7012356b 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 \) \) ]