Skip to content

Commit

Permalink
Fix possible unbound log_level (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck authored Nov 10, 2021
1 parent 847f268 commit d3a0e37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/rootfs/etc/cont-init.d/01-log-level.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
;;
Expand Down

0 comments on commit d3a0e37

Please sign in to comment.