From a056a4db8122875748ad2d98334895fc011c0b7e Mon Sep 17 00:00:00 2001 From: Bart Versluijs Date: Mon, 20 Jun 2022 21:22:09 +0200 Subject: [PATCH] Permissions fix while deleting old cluster on upgrade Change-Type: patch --- balena-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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