Use exec in finish script (#44)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user