We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c0dbc0 commit b1b3ca6Copy full SHA for b1b3ca6
OracleManagementAgent/dockerfiles/latest/container-scripts/watchdog.sh
@@ -31,10 +31,7 @@ trap "log 'Stopping container ...'; stop_agent; exit" SIGINT SIGTERM
31
32
###########################################################
33
# Init environment
34
-if [[ -z "$RUN_AGENT_AS_USER" ]]; then
35
- export RUN_AGENT_AS_USER="mgmt_agent"
36
-fi
37
-
+export RUN_AGENT_AS_USER=${RUN_AGENT_AS_USER:-mgmt_agent}
38
39
40
# Check if agent upgrade is available
0 commit comments