diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2019-09-24 16:23:49 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2019-09-24 16:23:49 +0100 |
commit | ba0800c6f05c505c974160af617868341318955f (patch) | |
tree | ff595490670ae8e372e959075bf9303f32a5c85d | |
parent | 66c8f7e53ecf7f99d301fd8ee68f8e17ba54390f (diff) | |
download | sos-ba0800c6f05c505c974160af617868341318955f.tar.gz |
[autofs] use add_service_status()
Related: #1667
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r-- | sos/plugins/autofs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/autofs.py b/sos/plugins/autofs.py index 9384574c..110d3c65 100644 --- a/sos/plugins/autofs.py +++ b/sos/plugins/autofs.py @@ -43,7 +43,7 @@ class Autofs(Plugin): def setup(self): self.add_copy_spec("/etc/auto*") - self.add_cmd_output("service autofs status") + self.add_service_status("autofs") self.add_cmd_output("automount -m") if self.checkdebug(): self.add_copy_spec(self.getdaemondebug()) |