]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
cryptroot-ask.sh: s/==/=/g (bug #542081)
authorHarald Hoyer <harald@redhat.com>
Mon, 21 Dec 2009 14:12:54 +0000 (15:12 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 21 Dec 2009 14:15:23 +0000 (15:15 +0100)
modules.d/50plymouth/cryptroot-ask.sh
modules.d/90crypt/cryptroot-ask.sh

index 47dd9d834e62b5eca0b5da1318e9dc92f706b96e..466d8db2050722d90776bb255ffe35adf3e7c327 100755 (executable)
@@ -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
index b1c188949ffbbde764462f4c5f166b66b0acdaa6..4ddb26eb6e9a601be85cfddf9ac80b686597a0ac 100755 (executable)
@@ -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