1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

lvmdbus: preserve PATH envvar

This commit is contained in:
Zdenek Kabelac 2023-04-23 12:49:37 +02:00
parent ce8835d4c4
commit afc02ae6e7

View File

@ -154,6 +154,8 @@ class LVMShellProxy(object):
# If any env variables contain LVM we will propagate them too
for k, v in os.environ.items():
if "PATH" in k:
local_env[k] = v
if "LVM" in k:
local_env[k] = v