Don't remove ANDROID_SECURE_STORAGE_CMD from env vars

We also use it in avbtool.

Change-Id: I4737c1815a031d307f6915a73b5f5b1a37b6baaa
This commit is contained in:
LuK1337 2022-12-06 12:25:05 +01:00 committed by Bartłomiej Rudecki
parent 136394bf16
commit 14ea1e60c6
Signed by: przekichane
GPG key ID: 751F23C6F014EF76

View file

@ -2908,8 +2908,6 @@ class PasswordManager(object):
missing.append(i) missing.append(i)
# Are all the passwords already in the file? # Are all the passwords already in the file?
if not missing: if not missing:
if "ANDROID_SECURE_STORAGE_CMD" in os.environ:
del os.environ["ANDROID_SECURE_STORAGE_CMD"]
return current return current
for i in missing: for i in missing: