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:
parent
b09de683c7
commit
599cbd7dd3
@ -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.
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user