Fix 'unexpected operator' bashism
[zfs.git] / dracut / 90zfs / parse-zfs.sh.in
index eaa4524..13697b9 100755 (executable)
@@ -48,7 +48,7 @@ esac
 
 # Make sure Dracut is happy that we have a root and will wait for ZFS
 # modules to settle before mounting.
-if [ "${wait_for_zfs}" == "1" ]; then
+if [ "${wait_for_zfs}" = "1" ]; then
        ln -s /dev/null /dev/root 2>/dev/null
        echo '[ -e /dev/zfs ]' > $hookdir/initqueue/finished/zfs.sh
 fi