diff options
author | jyxent <[email protected]> | 2016-05-13 21:44:03 -0600 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-05-13 20:44:03 -0700 |
commit | dabe1c42f9724ab030dea7fc1db1c924d21a8a6a (patch) | |
tree | d30a6e55bb9e8c15ac8241d6c18cc2071aa7a599 /contrib/dracut/90zfs | |
parent | a9bb2b682785d48b4bcdaca9d382fc87bbf6e2fb (diff) |
Fix the test to use the variable
Signed-off-by: Manuel Amador (Rudd-O) <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #4645
Diffstat (limited to 'contrib/dracut/90zfs')
-rwxr-xr-x | contrib/dracut/90zfs/parse-zfs.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/dracut/90zfs/parse-zfs.sh.in b/contrib/dracut/90zfs/parse-zfs.sh.in index 74a426ebb..6ca3165f4 100755 --- a/contrib/dracut/90zfs/parse-zfs.sh.in +++ b/contrib/dracut/90zfs/parse-zfs.sh.in @@ -56,7 +56,7 @@ esac if [ ${wait_for_zfs} -eq 1 ]; then ln -s /dev/null /dev/root 2>/dev/null initqueuedir="${hookdir}/initqueue/finished" - test -d initqueuedir || { + test -d "${initqueuedir}" || { initqueuedir="${hookdir}/initqueue-finished" } echo '[ -e /dev/zfs ]' > "${initqueuedir}/zfs.sh" |