diff options
-rw-r--r-- | sos/plugins/systemd.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sos/plugins/systemd.py b/sos/plugins/systemd.py index ae60c914..c5aa6648 100644 --- a/sos/plugins/systemd.py +++ b/sos/plugins/systemd.py @@ -34,7 +34,6 @@ class Systemd(Plugin, RedHatPlugin): "systemctl list-unit-files", "systemctl show-environment", "systemd-delta", - "journalctl --verify", "journalctl --all --this-boot --no-pager", "journalctl --all --this-boot --no-pager -o verbose", "ls -l /lib/systemd", @@ -43,6 +42,9 @@ class Systemd(Plugin, RedHatPlugin): "ls -l /lib/systemd/user-generators" ]) + if self.get_option("verify"): + self.add_cmd_output("journalctl --verify") + self.add_copy_specs([ "/etc/systemd", "/lib/systemd/system", |