Skip to content

Commit

Permalink
Fix systemd_nspawn_user_args override
Browse files Browse the repository at this point in the history
  • Loading branch information
Jip-Hop committed Jul 9, 2024
1 parent 9690a5a commit 32843da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jlmkr.py
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,7 @@ def create_jail(**kwargs):
if (
value is not None
# String, non-empty list of args or int
and (len(value) or isinstance(value, int))
and (isinstance(value, int) or len(value))
and value is not config.my_get(option, None)
):
# TODO: this will wipe all systemd_nspawn_user_args from the template...
Expand Down

0 comments on commit 32843da

Please sign in to comment.