Fix error in dracut script if not using ZFS root

If we are not booting from ZFS, parse-zfs.sh fails because of
an unset variable.

Signed-off-by: Steffen M<C3><BC>thing <steffen.muething@iwr.uni-heidelberg.de>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #3110
This commit is contained in:
Steffen Müthing 2015-02-16 04:13:26 +01:00 committed by Brian Behlendorf
parent 1543b20a87
commit 1d966336f5
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ else
warn "ZFS: Pools may not import correctly."
fi
wait_for_zfs=0
case "$root" in
""|zfs|zfs:)
# We'll take root unset, root=zfs, or root=zfs: