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()
740740 if [ " $containerRuntime " = " docker" ] && [ " $( docker ps -a -f " name=$AI " --format ' {{.Names}}' ) " ]
741741 then
742742
743- if [ ! " $operation " = " upgrade" ]
743+ if [ ! " $operation " = " upgrade" ] && [ ! " $operation " = " postUpgrade " ]
744744 then
745745 docker exec " $AI " /bin/bash -c " agent --config /app/data/conf/config.json ido lcm -i graceful_shutdown;"
746746 echo " INFO: Waiting for running operations to complete. It may take some time"
@@ -749,7 +749,7 @@ kill()
749749 docker rm -f " $AI "
750750 elif [ " $containerRuntime " = " podman" ] && [ " $( podman ps -a -f " name=$AI " --format ' {{.Names}}' ) " ]
751751 then
752- if [ ! " $operation " = " upgrade" ]
752+ if [ ! " $operation " = " upgrade" ] && [ ! " $operation " = " postUpgrade " ]
753753 then
754754 podman exec " $AI " /bin/bash -c " agent --config /app/data/conf/config.json ido lcm -i graceful_shutdown;"
755755 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