mirror of
/repos/baseimage-docker.git
synced 2025-12-30 08:01:31 +01:00
Change break to continue
This commit is contained in:
parent
18a7fe26ec
commit
2beb0e253e
@ -74,7 +74,7 @@ def export_envvars(to_dir = True):
|
||||
shell_dump = ""
|
||||
for name, value in os.environ.items():
|
||||
if name in ['HOME', 'USER', 'GROUP', 'UID', 'GID', 'SHELL']:
|
||||
break
|
||||
continue
|
||||
if to_dir:
|
||||
with open("/etc/container_environment/" + name, "w") as f:
|
||||
f.write(value)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user