From 2c2e3ad860c3c8c24dd0c0482cdb52aff1360730 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 21 Dec 2009 15:12:54 +0100 Subject: [PATCH] cryptroot-ask.sh: s/==/=/g (bug #542081) --- modules.d/50plymouth/cryptroot-ask.sh | 2 +- modules.d/90crypt/cryptroot-ask.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/50plymouth/cryptroot-ask.sh b/modules.d/50plymouth/cryptroot-ask.sh index 47dd9d83..466d8db2 100755 --- a/modules.d/50plymouth/cryptroot-ask.sh +++ b/modules.d/50plymouth/cryptroot-ask.sh @@ -36,7 +36,7 @@ if [ -n "$LUKS" ]; then luuid=${2##luks-} for luks in $LUKS; do luks=${luks##luks-} - if [ "${luuid##$luks}" != "$luuid" ] || [ "$luksname" == "$luks" ]; then + if [ "${luuid##$luks}" != "$luuid" ] || [ "$luksname" = "$luks" ]; then ask=1 break fi diff --git a/modules.d/90crypt/cryptroot-ask.sh b/modules.d/90crypt/cryptroot-ask.sh index b1c18894..4ddb26eb 100755 --- a/modules.d/90crypt/cryptroot-ask.sh +++ b/modules.d/90crypt/cryptroot-ask.sh @@ -35,7 +35,7 @@ if [ -n "$LUKS" ]; then luuid=${2##luks-} for luks in $LUKS; do luks=${luks##luks-} - if [ "${luuid##$luks}" != "$luuid" ] || [ "$luksname" == "$luks" ]; then + if [ "${luuid##$luks}" != "$luuid" ] || [ "$luksname" = "$luks" ]; then ask=1 break fi