diff --git a/balena-entrypoint.sh b/balena-entrypoint.sh index 8c37e40..b7910c1 100755 --- a/balena-entrypoint.sh +++ b/balena-entrypoint.sh @@ -137,7 +137,7 @@ complete_upgrade_if_needed () { fi if [ -f "${WORKDIR}/delete_old_cluster.sh" ]; then echo "=== Deleting old cluster" - gosu postgres "${WORKDIR}/delete_old_cluster.sh" + "${WORKDIR}/delete_old_cluster.sh" else rm -rf "${PGDATAOLD}" fi