👕 Fixes shellcheck linter warnings

This commit is contained in:
Franck Nijhof 2019-03-16 15:35:04 +01:00
parent 7cbbd0e5bf
commit ba800df058
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3
4 changed files with 26 additions and 26 deletions

View file

@ -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