mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +03:00
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:
parent
1543b20a87
commit
1d966336f5
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user