From: Steffen Müthing Date: Mon, 16 Feb 2015 03:13:26 +0000 (+0100) Subject: Fix error in dracut script if not using ZFS root X-Git-Tag: zfs-0.6.4~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1d966336f5095c7e0345360c3862577642670d2d;p=zfs 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 Mthing Signed-off-by: Brian Behlendorf Issue #3110 --- diff --git a/dracut/90zfs/parse-zfs.sh.in b/dracut/90zfs/parse-zfs.sh.in index f945a27c1..f45a629f3 100755 --- a/dracut/90zfs/parse-zfs.sh.in +++ b/dracut/90zfs/parse-zfs.sh.in @@ -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: