Use exec in finish script (#44)

This commit is contained in:
Mike Degatano
2022-06-24 19:01:29 -04:00
committed by GitHub
parent 8f3bfe5bde
commit c7709a773e

View File

@@ -6,7 +6,7 @@
if [[ "$1" -ne 0 ]] && [[ "$1" -ne 256 ]]; then
bashio::log.warning "Halt add-on"
/run/s6/basedir/bin/halt
exec /run/s6/basedir/bin/halt
fi
bashio::log.info "Service restart after closing"