mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 12:01:25 +00:00
👕 Fixes shellcheck linter warnings
This commit is contained in:
parent
7cbbd0e5bf
commit
ba800df058
4 changed files with 26 additions and 26 deletions
|
@ -219,7 +219,7 @@ function bashio::homeassistant.watchdog() {
|
|||
|
||||
bashio::log.trace "${FUNCNAME[0]}:" "$@"
|
||||
|
||||
if bashio::var.has_value "${wait}"; then
|
||||
if bashio::var.has_value "${watchdog}"; then
|
||||
watchdog=$(bashio::var.json watchdog "^${watchdog}")
|
||||
bashio::api.hassio POST /homeassistant/options "${watchdog}"
|
||||
bashio::cache.flush_all
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue