Skip to content

Commit

Permalink
anaconda: Don't fatally error if writing to /dev/ttyS0 fails
Browse files Browse the repository at this point in the history
This *should* probably always work, but out of conservatism
let's continue to ignore errors.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters authored and supakeen committed Jan 13, 2025
1 parent 94c561e commit 9eaf5d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/manifest/anaconda_installer_iso_tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ bootc switch --mutate-in-place --transport %s %s
# used during automatic image testing as finished marker
if [ -c /dev/ttyS0 ]; then
echo "Install finished" > /dev/ttyS0
# continue on errors here, because we used to omit --erroronfail
echo "Install finished" > /dev/ttyS0 || true
fi
%%end
`, targetContainerTransport, p.containerSpec.LocalName)
Expand Down

0 comments on commit 9eaf5d0

Please sign in to comment.