aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/components/portal-mariadb/resources
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-06-18 08:00:23 +0000
committerGerrit Code Review <gerrit@onap.org>2021-06-18 08:00:23 +0000
commit6af2236f179efe1f3b67d7646153ac5f03d86546 (patch)
tree494f005f800f03c7c9c69db236367f337ee1bf78 /kubernetes/portal/components/portal-mariadb/resources
parentf0e88b345f6c6dd6d5733d74016fc44027ac407f (diff)
parent134188daef48f9c1fadad5b26b4fb1e6417e4304 (diff)
Merge "[COMMON] Fix $BASH_SOURCE and pushd/popd bashisms"
Diffstat (limited to 'kubernetes/portal/components/portal-mariadb/resources')
-rw-r--r--kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh b/kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh
index c4a21b927f..ebc8ca0f40 100644
--- a/kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh
+++ b/kubernetes/portal/components/portal-mariadb/resources/config/mariadb/docker-entrypoint.sh
@@ -323,7 +323,7 @@ _main() {
# If container is started as root user, restart as dedicated mysql user
if [ "$(id -u)" = "0" ]; then
mysql_note "Switching to dedicated user 'mysql'"
- exec gosu mysql "$BASH_SOURCE" "$@"
+ exec gosu mysql "$0" "$@"
fi
# there's no database, so it needs to be initialized