aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-03-29 16:59:04 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-03-29 16:59:04 +0000
commit1a32b465916fea652852a35913142ddfed9382f3 (patch)
treefd23ac51f7fa8a1b399251db156a2bcd9a6892f1 /src
parentc2bdcda792cb586366be20f9f0d072cfc01a4f11 (diff)
downloadsos-1a32b465916fea652852a35913142ddfed9382f3.tar.gz
Disable the progress-bar if verbosity is enabled.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@108 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sosreport1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sosreport b/src/sosreport
index 58a8885f..6300b18a 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -264,6 +264,7 @@ def sosreport():
console = logging.StreamHandler()
if __cmdLineOpts__.verbosity > 0:
console.setLevel(20 - __cmdLineOpts__.verbosity)
+ __cmdLineOpts__.progressbar = False
else:
console.setLevel(logging.INFO)
console.setFormatter(logging.Formatter('%(message)s'))