aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
diff options
context:
space:
mode:
authorshnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-03-15 13:38:17 +0000
committershnavid <shnavid@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-03-15 13:38:17 +0000
commit2606f752bb9c99d46d6551947fadeb0b842d8316 (patch)
tree560a187a3dcedd6366af0915cce2af3204841973 /src/sosreport
parenta07315111f2e96f374b8e4b79a3241b50c2d5a92 (diff)
downloadsos-2606f752bb9c99d46d6551947fadeb0b842d8316.tar.gz
Small fix to progress bar
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@98 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sosreport')
-rwxr-xr-xsrc/sosreport3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sosreport b/src/sosreport
index 34ecc5ec..d1cd6bc4 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -385,7 +385,8 @@ def sosreport():
pbar.incAmount()
pbar.update()
- pbar.finished()
+ if __cmdLineOpts__.progressbar:
+ pbar.finished()
# Sort the module names to do the report in alphabetical order
loadedplugins.sort()