Skip to content

Commit

Permalink
Merge pull request #5406 from jkonecny12/rhel-9-fix-dracut-timetou-er…
Browse files Browse the repository at this point in the history
…ror-msg

[RHEL-9] Fix wrong dracut timeout message
  • Loading branch information
M4rtinK authored Jan 24, 2024
2 parents 8684a0f + 05c2e3d commit 97f697a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions dracut/anaconda-error-reporting.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,13 @@ warn "Please also note that the 'inst.' prefix is now mandatory."
warn "# #"
warn "#### Installer errors encountered during boot: ####"
warn "# #"
while read -r line; do
warn "$line"
done < /run/anaconda/initrd_errors.txt
if ! [ -e /run/anaconda/initrd_errors.txt ]; then
warn "Reason unknown"
else
while read -r line; do
warn "$line"
done < /run/anaconda/initrd_errors.txt
fi
warn "# #"
warn "############# Anaconda installer errors end ###############"

Expand Down

0 comments on commit 97f697a

Please sign in to comment.