aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-04-16 15:03:19 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-04-16 15:03:19 +0100
commit256bc4667d33d3c6c0e41fb5a871c72a195de09a (patch)
treefe9f706e8005fb9bc82dbb8809e93e65ce46144e
parent32667f7c096489e27213093f86f09c2b65973d51 (diff)
downloadsos-256bc4667d33d3c6c0e41fb5a871c72a195de09a.tar.gz
Fixup PATH breakage in general plug-in
PATH changes caused an incorrect '/usr/bin/java' -> '/usrjava' change in the general plug-in. Revert it. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/general.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/general.py b/sos/plugins/general.py
index 2bbf3203..01cc60c1 100644
--- a/sos/plugins/general.py
+++ b/sos/plugins/general.py
@@ -52,7 +52,7 @@ class General(Plugin):
self.add_cmd_output("dmesg")
self.add_cmd_output("alternatives --display java",
root_symlink="java")
- self.add_cmd_output("readlink -f /usrjava")
+ self.add_cmd_output("readlink -f /usr/bin/java")
self.add_cmd_output("tree /var/lib")
self.add_cmd_output("ls -lR /var/lib")