Skip to content

Commit

Permalink
fix: Fix combining mode option
Browse files Browse the repository at this point in the history
  • Loading branch information
Przemek Recha committed Nov 29, 2023
1 parent de8029f commit c16940c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qemu_runner/layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def apply_general() -> GeneralSettings:
return replace(
self._general,
engine=other.engine if other.engine != '' else self._general.engine,
mode=other.mode if other.mode else None,
mode=other.mode if other.mode is not None else self._general.mode,
kernel=other.kernel if other.kernel != '' else self._general.kernel,
kernel_cmdline=' '.join(cmdline) if cmdline else None,
halted=other.halted if other.halted is not None else self._general.halted,
Expand Down

0 comments on commit c16940c

Please sign in to comment.