diff options
-rw-r--r-- | sos/plugins/s390.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/s390.py b/sos/plugins/s390.py index 57e7eb5a..8706ba02 100644 --- a/sos/plugins/s390.py +++ b/sos/plugins/s390.py @@ -65,7 +65,7 @@ class s390(sos.plugintools.PluginBase): self.collectExtOutput("/sbin/dasdview -x -i -j -l -f %s" % (x,)) self.collectExtOutput("/sbin/fdasd -p %s" % (x,)) try: - rhelver = self.policy().pkgByName("redhat-release")[1] + rhelver = self.policy().rhelVersion() if rhelver == "5": self.collectExtOutput("/sbin/lsqeth") self.collectExtOutput("/sbin/lszfcp") |