]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add missing parentheses to make sure we don't throw away scope for virtiofsd
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 15 Jan 2025 13:26:23 +0000 (14:26 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 15 Jan 2025 22:14:26 +0000 (23:14 +0100)
mkosi/qemu.py

index 3a3af124ac08e849844f81d818d9275625d8054c..928b892d3b40556deb187a9d3c6d053e35ccbb29 100644 (file)
@@ -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