mirror of
https://github.com/hassio-addons/addon-ubuntu-base.git
synced 2025-05-07 12:21:24 +00:00
Fix possible unbound log_level (#107)
This commit is contained in:
parent
847f268200
commit
d3a0e374b1
1 changed files with 2 additions and 1 deletions
|
@ -9,7 +9,8 @@ declare log_level
|
|||
if bashio::config.exists log_level; then
|
||||
|
||||
# Find the matching LOG_LEVEL
|
||||
case "$(bashio::string.lower "$(bashio::config log_level)")" in
|
||||
log_level=$(bashio::string.lower "$(bashio::config log_level)")
|
||||
case "${log_level}" in
|
||||
all)
|
||||
log_level="${__BASHIO_LOG_LEVEL_ALL}"
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue