-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle invalid UTF-8 characters in efibootmgr output
Modified the code to handle invalid UTF-8 characters in the output of the efibootmgr command by using `errors="ignore"`. This prevents decode exceptions when encountering non-UTF-8 sequences in the EFI boot manager output. This should be reverted when this is fixed upstream in the efibootmgr: Possible fix: rhboot/efibootmgr#221 Resolves: rhbz#2254801
- Loading branch information
Showing
3 changed files
with
34 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters