From a27477c1ef57c6d0e331609ad4732a39c7f5844a Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 13 May 2021 18:33:09 +0200 Subject: [PATCH] Update run.sh --- joal/rootfs/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/joal/rootfs/run.sh b/joal/rootfs/run.sh index 327ed7332..8d966906e 100644 --- a/joal/rootfs/run.sh +++ b/joal/rootfs/run.sh @@ -55,7 +55,8 @@ if bashio::config.has_value 'run_duration'; then bashio::log.info "... Addon will stop after $RUNTIME" sleep $RUNTIME && \ bashio::log.info "... Timeout achieved, addon will stop !" && \ - kill "$PID" + #kill "$PID" + exit 0 else bashio::log.info "... run_duration option not defined, addon will run continuously" fi