mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-06-02 04:04:24 +03:00
Use test(1) in a proper way
Use the correct operators to check the expected data type. Signed-off-by: Soeren Tempel <soeren+git@soeren-tempel.net> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Issue #3093
This commit is contained in:
committed by
Brian Behlendorf
parent
e02b533e74
commit
cfbaa3c830
@@ -52,7 +52,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} -eq 1 ]; then
|
||||
ln -s /dev/null /dev/root 2>/dev/null
|
||||
echo '[ -e /dev/zfs ]' > $hookdir/initqueue/finished/zfs.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user