aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/plugins/jboss.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/sos/plugins/jboss.py b/sos/plugins/jboss.py
index cffaf043..de1a9765 100644
--- a/sos/plugins/jboss.py
+++ b/sos/plugins/jboss.py
@@ -641,6 +641,11 @@ Default=\'all default minimal production standard web\'.', '', False),
self.addCopySpec(file)
return
+ def checkenabled(self):
+ if not self.__getJbossHome():
+ return False
+ return True
+
def setup(self):
## We need to know where JBoss is installed and if we can't find it we