diff options
-rwxr-xr-x | rc.d/rc.sysinit | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 0afd98f7..f1f56060 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -193,7 +193,7 @@ init_crypto() { && /usr/bin/rhgb-client --ping ; then /usr/bin/rhgb-client --quit fi - if [ -z "$makeswap" -a cryptsetup isLuks "$src" 2>/dev/null ]; then + if [ -z "$makeswap" -a ] && cryptsetup isLuks "$src" 2>/dev/null ; then if key_is_random "$key"; then echo $"$dst: LUKS requires non-random key, skipping" ret=1 |