aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh
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/common/cassandra/resources/config/docker-entrypoint.sh
parentf0e88b345f6c6dd6d5733d74016fc44027ac407f (diff)
parent134188daef48f9c1fadad5b26b4fb1e6417e4304 (diff)
Merge "[COMMON] Fix $BASH_SOURCE and pushd/popd bashisms"
Diffstat (limited to 'kubernetes/common/cassandra/resources/config/docker-entrypoint.sh')
-rw-r--r--kubernetes/common/cassandra/resources/config/docker-entrypoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh b/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh
index 5b652228a6..64c7daacbf 100644
--- a/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh
+++ b/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh
@@ -11,7 +11,7 @@ fi
if [ "$1" = 'cassandra' -a "$(id -u)" = '0' ]; then
find /var/lib/cassandra /var/log/cassandra "$CASSANDRA_CONFIG" \
\! -user cassandra -exec chown cassandra '{}' +
- exec gosu cassandra "$BASH_SOURCE" "$@"
+ exec gosu cassandra "$0" "$@"
fi
_ip_address() {