Skip to content

Commit

Permalink
Merge pull request #36 from bartversluijs/upgrade-patch-1
Browse files Browse the repository at this point in the history
Permissions fix while deleting old cluster on upgrade
  • Loading branch information
bulldozer-balena[bot] authored Jul 12, 2022
2 parents 59fefdb + a056a4d commit 1e1dcfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balena-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e1dcfd

Please sign in to comment.