Skip to content

Commit

Permalink
Do not end LOG_LEVEL environment variable with newline (set by base-a…
Browse files Browse the repository at this point in the history
…ddon-log-level script) (#248)
  • Loading branch information
lmagyar authored Jul 17, 2023
1 parent df9cf39 commit 696ae6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/s6-overlay/etc/s6-rc/scripts/base-addon-log-level
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ if bashio::config.exists log_level; then
esac

# Save determined log level so S6 can pick it up later
echo "${log_level}" > /var/run/s6/container_environment/LOG_LEVEL
echo -n "${log_level}" > /var/run/s6/container_environment/LOG_LEVEL
bashio::log.blue "Log level is set to ${__BASHIO_LOG_LEVELS[$log_level]}"
fi

0 comments on commit 696ae6e

Please sign in to comment.