Skip to content

Commit

Permalink
fix(dracut-init.sh): instmods: wrong variable name
Browse files Browse the repository at this point in the history
It worked most of the time because `dracut-install -o` returns 0 in normal circumstances.
  • Loading branch information
marcosfrm authored and aafeijoo-suse committed Nov 7, 2022
1 parent e78f71b commit b12ee55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dracut-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,7 @@ instmods() {
-m "$@"
fi

[[ "$optional" ]] && return 0
[[ "$_optional" ]] && return 0
return $_ret
}

Expand Down

0 comments on commit b12ee55

Please sign in to comment.