40_stop : fix logique fix
This commit is contained in:
parent
cf09d424e2
commit
65add71878
|
@ -16,7 +16,7 @@ if check_systemd_unit_exists ${service_name}; then
|
||||||
echo Systemd service ${service_name} stopped.
|
echo Systemd service ${service_name} stopped.
|
||||||
fi
|
fi
|
||||||
# Leave if pod is correctly stopped
|
# Leave if pod is correctly stopped
|
||||||
if ! check_pod_running ${container_name}; then
|
if ! check_pod_running ${pod_name}; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue