util: run returns CompletedProcess

This commit is contained in:
Lukas Zapletal 2024-09-09 12:06:12 +02:00 committed by Simon de Vlieger
parent ea14713f3a
commit 88474fd4d9

View file

@ -46,4 +46,4 @@ class Chroot:
def run(self, cmd, **kwargs):
cmd = ["/usr/sbin/chroot", self.root] + cmd
# pylint: disable=subprocess-run-check
subprocess.run(cmd, **kwargs) # noqa: PLW1510
return subprocess.run(cmd, **kwargs) # noqa: PLW1510