Do not end LOG_LEVEL environment variable with newline (set by base-addon-log-level script) (#248)

This commit is contained in:
Laszlo Magyar 2023-07-17 10:56:00 +03:00 committed by GitHub
parent df9cf39a35
commit 696ae6ed74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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