aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlyingWaffle <flyingwaffle@pm.me>2022-05-28 16:24:41 -0500
committerFlyingWaffle <flyingwaffle@pm.me>2022-05-28 16:24:41 -0500
commit2f5a7fc596bdf919f41ddc5df063abf109af6758 (patch)
treef0887a4ddff3f5ef24dd4b6cf1741d5544262dba
parentAdditional test to allow for hibernation resume (diff)
downloadgenkernel-2f5a7fc596bdf919f41ddc5df063abf109af6758.tar.gz
genkernel-2f5a7fc596bdf919f41ddc5df063abf109af6758.tar.bz2
genkernel-2f5a7fc596bdf919f41ddc5df063abf109af6758.zip
Fixes a mistake with quotation usage when testing for LVM flag.
Signed-off-by: FlyingWaffle <flyingwaffle@pm.me>
-rw-r--r--defaults/linuxrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc
index 9daad4a4..2f94eb46 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -672,7 +672,7 @@ if [ "${CDROOT}" != '1' ]
then
if ( [ -n "${CRYPT_SWAP_KEY}" ] && [ -z "${CRYPT_SWAP_KEYDEV}" ] ) || \
( [ -n "${CRYPT_SWAP_HEADER}" ] && [ -z "${CRYPT_SWAP_HEADERDEV}" ] ) || \
- ( [ "${REAL_ROOT}" = "${REAL_RESUME}" ] || [ ${USE_LVM_NORMAL} -eq 1 ] )
+ ( [ "${REAL_ROOT}" = "${REAL_RESUME}" ] || [ "${USE_LVM_NORMAL}" = '1' ] )
then
# the swap key or header might be on the root fs so start it first in this case
start_LUKS_root