Skip to content

Commit

Permalink
Fixed regression in GRUB_SERIAL_COMMAND setup
Browse files Browse the repository at this point in the history
The condition to write the serial line setup was broken.
This commit fixes it. Related to Issue #2419
  • Loading branch information
schaefi committed Jan 9, 2024
1 parent 7978972 commit 9ac01da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kiwi/bootloader/config/grub2.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def _setup_default_grub(self):
grub_final_cmdline
)
if self.serial_line_setup and \
'serial' in self.terminal_input or 'serial' in self.terminal_output:
('serial' in self.terminal_input or 'serial' in self.terminal_output):
grub_default_entries['GRUB_SERIAL_COMMAND'] = '"{0}"'.format(
self.serial_line_setup
)
Expand Down

0 comments on commit 9ac01da

Please sign in to comment.