diff options
author | FlyingWaffle <flyingwaffle@pm.me> | 2022-05-28 16:24:41 -0500 |
---|---|---|
committer | FlyingWaffle <flyingwaffle@pm.me> | 2022-05-28 16:24:41 -0500 |
commit | 2f5a7fc596bdf919f41ddc5df063abf109af6758 (patch) | |
tree | f0887a4ddff3f5ef24dd4b6cf1741d5544262dba /defaults | |
parent | Additional test to allow for hibernation resume (diff) | |
download | genkernel-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>
Diffstat (limited to 'defaults')
-rw-r--r-- | defaults/linuxrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/linuxrc b/defaults/linuxrc index 9daad4a..2f94eb4 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 |