Skip to content

Commit

Permalink
add output check to podman inspect call
Browse files Browse the repository at this point in the history
  • Loading branch information
ricffb committed Dec 11, 2024
1 parent 6cb2cfe commit f710ab1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion contrib/vcloud/podman_containerized_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = (
Expand All @@ -92,6 +92,7 @@ def _init_container(
stdout=subprocess.PIPE,
stderr=subprocess.DEVNULL,
stdin=subprocess.DEVNULL,
check=True,
)
.stdout.decode()
.strip()
Expand Down

0 comments on commit f710ab1

Please sign in to comment.