aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/archive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/archive.py b/sos/archive.py
index 931554d1..58545dab 100644
--- a/sos/archive.py
+++ b/sos/archive.py
@@ -444,7 +444,7 @@ class TarFileArchive(FileCacheArchive):
suffix = "." + cmd.replace('ip', '')
# use fast compression if using xz or bz2
if cmd != "gzip":
- cmd = "%s -1" % cmd
+ cmd = "%s -2" % cmd
try:
exec_cmd = "%s %s" % (cmd, self.name())
r = sos_get_command_output(exec_cmd, stderr=True, timeout=0)