From 2606f752bb9c99d46d6551947fadeb0b842d8316 Mon Sep 17 00:00:00 2001 From: shnavid Date: Thu, 15 Mar 2007 13:38:17 +0000 Subject: Small fix to progress bar git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@98 ef72aa8b-4018-0410-8976-d6e080ef94d8 --- src/sosreport | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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() -- cgit