From 57f439fabc46179fc8d7901b1b72fd5fee43599a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 21 May 2023 10:38:51 +0200 Subject: [PATCH] Update 99-run.sh --- portainer_agent/rootfs/etc/cont-init.d/99-run.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/portainer_agent/rootfs/etc/cont-init.d/99-run.sh b/portainer_agent/rootfs/etc/cont-init.d/99-run.sh index 6c7b95d04..1b9014b24 100755 --- a/portainer_agent/rootfs/etc/cont-init.d/99-run.sh +++ b/portainer_agent/rootfs/etc/cont-init.d/99-run.sh @@ -9,4 +9,5 @@ bashio::require.unprotected # Set environemnt # Launch app +cd /app || true ./agent "$PORTAINER_AGENT_ARGS"