summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorTony Asleson <tasleson@redhat.com>2022-09-30 11:49:49 -0500
committerTony Asleson <tasleson@redhat.com>2022-09-30 11:51:23 -0500
commit599cbd7dd37ba50b44579f64207cc1e47e004899 (patch)
tree02eadfcbf1d91feff7a467f9e57cf8dae709879b /daemons
parentb09de683c72b62167fbbd64491708ede652c32a1 (diff)
downloadlvm2-599cbd7dd37ba50b44579f64207cc1e47e004899.tar.gz
lvmdbusd: Correct env. variable
Make this match the unit test expectation and the form we use for other env. variables.
Diffstat (limited to 'daemons')
-rw-r--r--daemons/lvmdbusd/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/lvmdbusd/main.py b/daemons/lvmdbusd/main.py
index e4531526c..662d7569f 100644
--- a/daemons/lvmdbusd/main.py
+++ b/daemons/lvmdbusd/main.py
@@ -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.