Skip to content

Commit

Permalink
contrib/dracut: parse-zfs: getarg root instead of relying on inherited
Browse files Browse the repository at this point in the history
This hopefully improves interaction with dracut-embedded
cmdline parameters

Ref: #13088
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
  • Loading branch information
nabijaczleweli committed Feb 15, 2022
1 parent e06be18 commit f7d6e0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions contrib/dracut/90zfs/parse-zfs.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ else
fi

wait_for_zfs=0
root="$(getarg root=)"
case "${root}" in
""|zfs|zfs:)
# We'll take root unset, root=zfs, or root=zfs:
Expand Down

0 comments on commit f7d6e0a

Please sign in to comment.