aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/canonical_livepatch.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/canonical_livepatch.py b/sos/plugins/canonical_livepatch.py
index 8c2ef7f3..563c99bd 100644
--- a/sos/plugins/canonical_livepatch.py
+++ b/sos/plugins/canonical_livepatch.py
@@ -21,9 +21,10 @@ class CanonicaLivepatch(Plugin, UbuntuPlugin):
def setup(self):
self.add_cmd_output([
- "systemctl status snap.canonical-livepatch.canonical-livepatchd",
"canonical-livepatch status --verbose",
"canonical-livepatch --version"
])
+ self.add_service_status(
+ "snap.canonical-livepatch.canonical-livepatchd")
# vim: set et ts=4 sw=4 :