aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2018-06-19 19:48:04 -0400
committerBryn M. Reeves <bmr@redhat.com>2018-06-20 15:42:11 +0100
commit98320d3730aa267c82bd6ae8d7184895726d18f8 (patch)
tree7e83f8056cdabee408189a314b80ece29001ae99
parentab15a0f10c7bfa98ebf0bf619bccb60a31b4545a (diff)
downloadsos-98320d3730aa267c82bd6ae8d7184895726d18f8.tar.gz
[sosreport] Fix finished running plugins report
Adds the condition that no more plugins are supposed to run when there are no plugins running to report that sosreport has finished running plugins. Resolves: #1354 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/sosreport.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/sosreport.py b/sos/sosreport.py
index 4ef9abcb..5dae5cd8 100644
--- a/sos/sosreport.py
+++ b/sos/sosreport.py
@@ -1344,7 +1344,7 @@ class SoSReport(object):
" ",
"[Running: %s]" % (' '.join(p for p in self.running_plugs))
)
- if not self.running_plugs:
+ if not self.running_plugs and not self.pluglist:
status = "\n Finished running plugins"
if status:
self.ui_progress(status)