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

lvmdbusd: Correct env. variable

Make this match the unit test expectation and the form we use for
other env. variables.
This commit is contained in:
Tony Asleson 2022-09-30 11:49:49 -05:00
parent b09de683c7
commit 599cbd7dd3
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ def running_under_systemd():
def main():
start = time.time()
use_session = os.getenv('LVMDBUSD_USE_SESSION', False)
use_session = os.getenv('LVM_DBUSD_USE_SESSION', False)
# Ensure that we get consistent output for parsing stdout/stderr and that we
# are using the lvmdbusd profile.

View File

@ -21,7 +21,7 @@ import os
if __name__ == "__main__":
use_session = os.getenv('LVMDBUSD_USE_SESSION', False)
use_session = os.getenv('LVMD_BUSD_USE_SESSION', False)
if use_session:
bus = dbus.SessionBus(mainloop=DBusGMainLoop())