mirror of
https://github.com/netinvent/npbackup.git
synced 2025-02-24 22:44:04 +08:00
Make sure we always parse all environment variables
This commit is contained in:
parent
a45d5f783b
commit
fed120d093
1 changed files with 2 additions and 1 deletions
|
@ -349,10 +349,11 @@ class NPBackupRunner:
|
|||
except KeyError:
|
||||
encrypted_env_variables = []
|
||||
|
||||
env_variables += encrypted_env_variables
|
||||
expanded_env_vars = {}
|
||||
try:
|
||||
if env_variables:
|
||||
for env_variable in env_variables + encrypted_env_variables:
|
||||
for env_variable in env_variables:
|
||||
if env_variable:
|
||||
try:
|
||||
key, value = env_variable.split("=")
|
||||
|
|
Loading…
Reference in a new issue