Use exec in finish script (#44)

This commit is contained in:
Mike Degatano authored and GitHub committed 2022-06-25 01:01:29 +02:00
1 parent 8f3bfe5bde
commit c7709a773e
1 file changed
+1 -1
+1 -1
View File
@@ -6,7 +6,7 @@
if [[ "$1" -ne 0 ]] && [[ "$1" -ne 256 ]]; then if [[ "$1" -ne 0 ]] && [[ "$1" -ne 256 ]]; then
bashio::log.warning "Halt add-on" bashio::log.warning "Halt add-on"
/run/s6/basedir/bin/halt exec /run/s6/basedir/bin/halt
fi fi
bashio::log.info "Service restart after closing" bashio::log.info "Service restart after closing"