👕 Fixes shellcheck linter warning

This commit is contained in:
Franck Nijhof 2019-01-07 22:20:49 +01:00
parent 1def841e8c
commit bbcea60cec
No known key found for this signature in database
GPG key ID: D62583BA8AB11CA3

View file

@ -55,7 +55,7 @@ hass.api.call() {
hass.log.trace "${FUNCNAME[0]}" "$@"
if [[ ! -z "${HASSIO_TOKEN:-}" ]]; then
if [[ -n "${HASSIO_TOKEN:-}" ]]; then
auth_header="X-HASSIO-KEY: ${HASSIO_TOKEN}"
fi