From 1d966336f5095c7e0345360c3862577642670d2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Steffen=20M=C3=BCthing?= Date: Mon, 16 Feb 2015 04:13:26 +0100 Subject: [PATCH] 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 --- dracut/90zfs/parse-zfs.sh.in | 1 + 1 file changed, 1 insertion(+) 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: -- 2.40.0