40_stop : fix logique fix

This commit is contained in:
Gitouche 2022-02-12 13:14:54 +01:00
parent cf09d424e2
commit 65add71878
1 changed files with 1 additions and 1 deletions

View File

@ -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