mirror of
https://github.com/optim-enterprises-bv/Mailu.git
synced 2025-11-01 18:47:52 +00:00
LD_PRELOAD may not be in ENV
This commit is contained in:
@@ -76,7 +76,7 @@ def set_env(required_secrets=[], log_filters=[], log_file=None):
|
||||
sys.stderr = LogFilter(sys.stderr, log_filters, log_file)
|
||||
log.basicConfig(stream=sys.stderr, level=os.environ.get("LOG_LEVEL", 'WARNING'))
|
||||
|
||||
if not _is_compatible_with_hardened_malloc():
|
||||
if 'LD_PRELOAD' in os.environ and not _is_compatible_with_hardened_malloc():
|
||||
del os.environ['LD_PRELOAD']
|
||||
|
||||
""" This will set all the environment variables and retains only the secrets we need """
|
||||
|
||||
1
towncrier/newsfragments/2789.bugfix
Normal file
1
towncrier/newsfragments/2789.bugfix
Normal file
@@ -0,0 +1 @@
|
||||
In front, config.py can be called several times. LD_PRELOAD may have already been removed from ENV
|
||||
Reference in New Issue
Block a user