File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
OracleIdentityGovernance/samples/scripts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -740,7 +740,7 @@ kill()
740
740
if [ " $containerRuntime " = " docker" ] && [ " $( docker ps -a -f " name=$AI " --format ' {{.Names}}' ) " ]
741
741
then
742
742
743
- if [ ! " $operation " = " upgrade" ]
743
+ if [ ! " $operation " = " upgrade" ] && [ ! " $operation " = " postUpgrade " ]
744
744
then
745
745
docker exec " $AI " /bin/bash -c " agent --config /app/data/conf/config.json ido lcm -i graceful_shutdown;"
746
746
echo " INFO: Waiting for running operations to complete. It may take some time"
@@ -749,7 +749,7 @@ kill()
749
749
docker rm -f " $AI "
750
750
elif [ " $containerRuntime " = " podman" ] && [ " $( podman ps -a -f " name=$AI " --format ' {{.Names}}' ) " ]
751
751
then
752
- if [ ! " $operation " = " upgrade" ]
752
+ if [ ! " $operation " = " upgrade" ] && [ ! " $operation " = " postUpgrade " ]
753
753
then
754
754
podman exec " $AI " /bin/bash -c " agent --config /app/data/conf/config.json ido lcm -i graceful_shutdown;"
755
755
echo " INFO: Waiting for running operations to complete. It may take some time"
You can’t perform that action at this time.
0 commit comments