aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/gdm.py2
-rw-r--r--sos/plugins/lightdm.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sos/plugins/gdm.py b/sos/plugins/gdm.py
index b772264a..33390891 100644
--- a/sos/plugins/gdm.py
+++ b/sos/plugins/gdm.py
@@ -20,6 +20,6 @@ class Gdm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
def setup(self):
self.add_copy_spec("/etc/gdm/*")
self.add_journal(units="gdm")
- self.add_cmd_output("systemctl status gdm.service")
+ self.add_service_status("gdm")
# vim: set et ts=4 sw=4 :
diff --git a/sos/plugins/lightdm.py b/sos/plugins/lightdm.py
index e51545f5..2135b8f7 100644
--- a/sos/plugins/lightdm.py
+++ b/sos/plugins/lightdm.py
@@ -19,7 +19,7 @@ class LightDm(Plugin, RedHatPlugin, DebianPlugin, UbuntuPlugin):
plugin_name = 'lightdm'
def setup(self):
- self.add_cmd_output("systemctl status lightdm.service")
+ self.add_service_status("lightdm")
self.add_journal(units="lightdm")
self.add_copy_spec([
"/etc/lightdm/lightdm.conf",