From f710ab124fc4d85560319504fc7ec2afc859567b Mon Sep 17 00:00:00 2001 From: Henrik Wachowitz Date: Wed, 11 Dec 2024 15:06:46 +0100 Subject: [PATCH] add output check to podman inspect call --- contrib/vcloud/podman_containerized_tool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/vcloud/podman_containerized_tool.py b/contrib/vcloud/podman_containerized_tool.py index 0d1567b1e..3f782281a 100644 --- a/contrib/vcloud/podman_containerized_tool.py +++ b/contrib/vcloud/podman_containerized_tool.py @@ -80,10 +80,10 @@ def _init_container( subprocess.run( ["podman", "init", container_id], - check=True, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, stdin=subprocess.DEVNULL, + check=True, ) container_pid = ( @@ -92,6 +92,7 @@ def _init_container( stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, stdin=subprocess.DEVNULL, + check=True, ) .stdout.decode() .strip()