checkmk
checkmk copied to clipboard
Replaced delimiter '_' with '#' in TZ sed expression to prevent errors processing timezones like 'America/New_York'
General information
Docker container related change. Proposed change to docker entrypoint code.
Bug reports
Restarting docker container after successful run fails when timezone (env TZ) contains '_' in it.
As it was found here, the cause of the bug is using _ as delimiter in sed expression that prevents using such timezones as America/New_York.
Proposed changes
Replacing delimiter _ with # that does not exist in any curent IANA or POSIX timezone databases.
All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.
I have read the CLA Document and I hereby sign the CLA or my organization already has a signed CLA.