aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/utilities.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/utilities.py b/sos/utilities.py
index 9b062bb1..8fd16559 100644
--- a/sos/utilities.py
+++ b/sos/utilities.py
@@ -156,7 +156,7 @@ def sosGetCommandOutput(command, timeout=300):
p = Popen(command, shell=True, stdout=PIPE, stderr=PIPE, bufsize=-1)
stdout, stderr = p.communicate()
- return (p.returncode, stdout.strip(), 0)
+ return (p.returncode, stdout, 0)
else:
return (127, "", 0)