diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2018-06-23 19:35:05 -0400 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2018-06-25 11:42:14 +0100 |
commit | 97454f9a3e3123ee5a1054de2c8032edc2a965fd (patch) | |
tree | dcc37b4ddad2666d653fc5cd7c6ea4d97d2c58da | |
parent | f9539ea944dd178442be2b8dd77c2a976f7eddec (diff) | |
download | sos-97454f9a3e3123ee5a1054de2c8032edc2a965fd.tar.gz |
[i18n] Fix locale environment
Removes the LC_ALL environment variable from the collection of 'locale'
which would cause all locale output to show a setting of 'C' which was
set earlier to get consistent output across sos commands collected.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/plugins/i18n.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/i18n.py b/sos/plugins/i18n.py index 7637d537..0b35d11e 100644 --- a/sos/plugins/i18n.py +++ b/sos/plugins/i18n.py @@ -21,6 +21,6 @@ class I18n(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): "/etc/X11/xinit/xinput.d/*", "/etc/locale.conf" ]) - self.add_cmd_output("locale") + self.add_cmd_output("locale", env={'LC_ALL': None}) # vim: set et ts=4 sw=4 : |