diff options
-rw-r--r-- | sos/plugins/lightdm.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sos/plugins/lightdm.py b/sos/plugins/lightdm.py index d8c768ac..ec18e500 100644 --- a/sos/plugins/lightdm.py +++ b/sos/plugins/lightdm.py @@ -25,10 +25,8 @@ class LightDm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin): plugin_name = 'lightdm' def setup(self): - self.add_cmd_output([ - "journalctl -u lightdm", - "systemctl status lightdm.service" - ]) + self.add_cmd_output(systemctl status lightdm.service) + self.add_journal(units="lightdm") self.add_copy_spec([ "/etc/lightdm/lightdm.conf", "/etc/lightdm/users.conf" |