aboutsummaryrefslogtreecommitdiffstats
path: root/dracut
diff options
context:
space:
mode:
authorSteffen Müthing <[email protected]>2015-02-16 04:13:26 +0100
committerBrian Behlendorf <[email protected]>2015-02-17 16:15:16 -0800
commit1d966336f5095c7e0345360c3862577642670d2d (patch)
tree09e0e6d2b3a9151bd8c1b369a840e1e91fc4127c /dracut
parent1543b20a87979782d67f7ccfc845e8a918efc3b3 (diff)
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 <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Issue #3110
Diffstat (limited to 'dracut')
-rwxr-xr-xdracut/90zfs/parse-zfs.sh.in1
1 files changed, 1 insertions, 0 deletions
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: