aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/canonical_livepatch.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/sos/plugins/canonical_livepatch.py b/sos/plugins/canonical_livepatch.py
index 23e05af5..a01986bb 100644
--- a/sos/plugins/canonical_livepatch.py
+++ b/sos/plugins/canonical_livepatch.py
@@ -25,9 +25,10 @@ class CanonicaLivepatch(Plugin, UbuntuPlugin):
files = ('/snap/bin/canonical-livepatch')
def setup(self):
- self.add_cmd_output(
- "systemctl status snap.canonical-livepatch.canonical-livepatchd")
- self.add_cmd_output("snap run canonical-livepatch status --verbose")
- self.add_cmd_output("snap run canonical-livepatch --version")
+ self.add_cmd_output([
+ "systemctl status snap.canonical-livepatch.canonical-livepatchd",
+ "snap run canonical-livepatch status --verbose",
+ "snap run canonical-livepatch --version"
+ ])
# vim: set et ts=4 sw=4 :