Skip to content

Commit

Permalink
fix: typo in variable name
Browse files Browse the repository at this point in the history
(cherry picked from commit 76b2f1a9b52afd4203c1d0e6afb57314bbfe8407)

Resolves: RHEL-66582
  • Loading branch information
jozzsi authored and pvalena committed Nov 27, 2024
1 parent 01e51a6 commit cb1c0c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dracut.sh
Original file line number Diff line number Diff line change
Expand Up @@ -946,8 +946,8 @@ if [[ -n $add_confdir ]]; then
# Check if it exists under $confdir.
elif [[ -d $confdir/$add_confdir ]]; then
add_confdir="$confdir/$add_confdir"
elif [[ -d $dracutbasdir/dracut.conf.d/$add_confdir ]]; then
add_confdir="$dracutbasdir/dracut.conf.d/$add_confdir"
elif [[ -d $dracutbasedir/dracut.conf.d/$add_confdir ]]; then
add_confdir="$dracutbasedir/dracut.conf.d/$add_confdir"
else
printf "%s\n" "dracut[F]: Configuration directory '$add_confdir' not found." >&2
exit 1
Expand Down

0 comments on commit cb1c0c9

Please sign in to comment.