From 65add718787eccb2702ca5a79ce1062852d7a31f Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sat, 12 Feb 2022 13:14:54 +0100 Subject: [PATCH] 40_stop : fix logique fix --- _podman-common/40_stop_pod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_podman-common/40_stop_pod.sh b/_podman-common/40_stop_pod.sh index 3fe661f..99d25a5 100755 --- a/_podman-common/40_stop_pod.sh +++ b/_podman-common/40_stop_pod.sh @@ -16,7 +16,7 @@ if check_systemd_unit_exists ${service_name}; then echo Systemd service ${service_name} stopped. fi # Leave if pod is correctly stopped - if ! check_pod_running ${container_name}; then + if ! check_pod_running ${pod_name}; then exit 0 fi fi