From 32843daf49a67e8b90e881ee6b13fa83fe4dfbde Mon Sep 17 00:00:00 2001 From: Jip-Hop <2871973+Jip-Hop@users.noreply.github.com> Date: Tue, 9 Jul 2024 14:41:35 +0200 Subject: [PATCH] Fix systemd_nspawn_user_args override --- jlmkr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jlmkr.py b/jlmkr.py index bb27cad..5c54e50 100755 --- a/jlmkr.py +++ b/jlmkr.py @@ -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...