From 6e70efff29891619e293d536b3ebee867bf1956b Mon Sep 17 00:00:00 2001 From: AbcSxyZ Date: Sat, 4 Dec 2021 16:42:54 +0100 Subject: [PATCH] Remove arguments from environment variables --- 1.14.5/bullseye/docker-entrypoint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1.14.5/bullseye/docker-entrypoint.py b/1.14.5/bullseye/docker-entrypoint.py index 070742c..9f61956 100755 --- a/1.14.5/bullseye/docker-entrypoint.py +++ b/1.14.5/bullseye/docker-entrypoint.py @@ -99,7 +99,7 @@ def convert_env(executable): cli_arguments = [] for option in man_options: - env_option = os.environ.get(option_to_env(option)) + env_option = os.environ.pop(option_to_env(option), None) if env_option is not None: cli_option = "-" + option