mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 01:51:00 +03:00
Fix the test to use the variable
Signed-off-by: Manuel Amador (Rudd-O) <rudd-o@rudd-o.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #4645
This commit is contained in:
parent
a9bb2b6827
commit
dabe1c42f9
@ -56,7 +56,7 @@ esac
|
|||||||
if [ ${wait_for_zfs} -eq 1 ]; then
|
if [ ${wait_for_zfs} -eq 1 ]; then
|
||||||
ln -s /dev/null /dev/root 2>/dev/null
|
ln -s /dev/null /dev/root 2>/dev/null
|
||||||
initqueuedir="${hookdir}/initqueue/finished"
|
initqueuedir="${hookdir}/initqueue/finished"
|
||||||
test -d initqueuedir || {
|
test -d "${initqueuedir}" || {
|
||||||
initqueuedir="${hookdir}/initqueue-finished"
|
initqueuedir="${hookdir}/initqueue-finished"
|
||||||
}
|
}
|
||||||
echo '[ -e /dev/zfs ]' > "${initqueuedir}/zfs.sh"
|
echo '[ -e /dev/zfs ]' > "${initqueuedir}/zfs.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user