aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()