From 2c7caa74410cabeff309a4f6c6b6c87cee9d81e2 Mon Sep 17 00:00:00 2001 From: holmez Date: Fri, 31 Jan 2025 11:36:10 +0100 Subject: [PATCH] Added escaping of properties Now you could write multiple words in jail properties. Extremely useful with property "note". --- iocage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocage.py b/iocage.py index abfef23..7fdc133 100644 --- a/iocage.py +++ b/iocage.py @@ -374,7 +374,7 @@ def _props_to_str(props): elif _val in ['-', 'none']: argstr += f"{_prop}={_val} " else: - argstr += f"{_prop}={str(_val)} " + argstr += f'{_prop}="{str(_val)}" ' return argstr