aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos.spec1
-rwxr-xr-xsos/policyredhat.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/sos.spec b/sos.spec
index 25216d2d..e14326fb 100644
--- a/sos.spec
+++ b/sos.spec
@@ -52,6 +52,7 @@ rm -rf ${RPM_BUILD_ROOT}
* Sun Apr 11 2010 Adam Stokes <ajs at redhat dot com> = 2.0-0
- Bump release to 2
- Fix problem where sos generates error on newline in hostname
+- Remove references to sysreport*
* Tue Mar 30 2010 Adam Stokes <ajs at redhat dot com> = 1.9-5
- Remove references to rh-upload
diff --git a/sos/policyredhat.py b/sos/policyredhat.py
index 58ecdd2b..caea9f34 100755
--- a/sos/policyredhat.py
+++ b/sos/policyredhat.py
@@ -149,7 +149,7 @@ class SosPolicy:
return Popen("/bin/uname -r", shell=True, stdout=PIPE, bufsize=-1).stdout.read().strip("\n")
def hostName(self):
- return Popen("/bin/hostname", shell=True, stdout=PIPE, bufsize=-1).stdout.read().split(".")[0]
+ return Popen("/bin/hostname", shell=True, stdout=PIPE, bufsize=-1).stdout.read().strip("\n").split(".")[0]
def rhelVersion(self):
try: