Skip to content

Commit

Permalink
Merge pull request #27 from AbcSxyZ/environ-fix
Browse files Browse the repository at this point in the history
Remove arguments from environment variables
  • Loading branch information
patricklodder authored Dec 4, 2021
2 parents daf10a7 + 6e70eff commit 6e9d7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1.14.5/bullseye/docker-entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6e9d7b0

Please sign in to comment.