mirror of
https://github.com/hassio-addons/addon-base.git
synced 2025-05-03 18:31:26 +00:00
Do not end LOG_LEVEL environment variable with newline (set by base-addon-log-level script) (#248)
This commit is contained in:
parent
df9cf39a35
commit
696ae6ed74
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue