From: Daan De Meyer Date: Wed, 15 Jan 2025 13:26:23 +0000 (+0100) Subject: Add missing parentheses to make sure we don't throw away scope for virtiofsd X-Git-Tag: v25~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0168e7f360b96bd68fd1d377ffa6f53bf8edecce;p=thirdparty%2Fmkosi.git Add missing parentheses to make sure we don't throw away scope for virtiofsd --- diff --git a/mkosi/qemu.py b/mkosi/qemu.py index 3a3af124a..928b892d3 100644 --- a/mkosi/qemu.py +++ b/mkosi/qemu.py @@ -401,7 +401,10 @@ def start_virtiofsd( "--bind", directory, workdir(directory), *(["--become-root"] if uidmap else []), ], - setup=scope + become_root_in_subuid_range_cmd() if scope and not uidmap else [], + setup=( + scope + + (become_root_in_subuid_range_cmd() if scope and not uidmap else []) + ), ), ) as proc: # fmt: skip yield path