Use exec in finish script (#44)
This commit is contained in:
1 parent
8f3bfe5bde
commit
c7709a773e
1 file changed
+1
-1
@@ -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