diff options
author | Tony Asleson <tasleson@redhat.com> | 2016-03-04 10:13:04 -0600 |
---|---|---|
committer | Tony Asleson <tasleson@redhat.com> | 2016-03-04 10:13:04 -0600 |
commit | 6c781751261a6e75f8e3e63f5efbecf467d63476 (patch) | |
tree | 1e36ca56eee050e91f85c0a4b6a2ca39446af71a | |
parent | f94fe2c91fc995e2d57f7689f01d8d15d72858cc (diff) | |
download | lvm2-6c781751261a6e75f8e3e63f5efbecf467d63476.tar.gz |
lvmdbusd: Set locale
Signed-off-by: Tony Asleson <tasleson@redhat.com>
-rw-r--r-- | daemons/lvmdbusd/main.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/daemons/lvmdbusd/main.py b/daemons/lvmdbusd/main.py index 6cabcc4ab..92006d023 100644 --- a/daemons/lvmdbusd/main.py +++ b/daemons/lvmdbusd/main.py @@ -103,6 +103,9 @@ def main(): use_session = os.getenv('LVMDBUSD_USE_SESSION', False) + # Ensure that we get consistent output for parsing stdout/stderr + os.environ["LC_ALL"] = "C" + args = parser.parse_args() cfg.DEBUG = args.debug |