summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh
diff options
context:
space:
mode:
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 ff1908c1bb..5f23a89867 100644
--- a/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh
+++ b/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh
@@ -12,7 +12,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() {