aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/collector/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/collector/__init__.py b/sos/collector/__init__.py
index 963648f3..8c4291b0 100644
--- a/sos/collector/__init__.py
+++ b/sos/collector/__init__.py
@@ -366,6 +366,7 @@ class SoSCollector(SoSComponent):
self.close_all_connections()
except Exception:
pass
+ self.cleanup()
sys.exit(error)
def _parse_options(self):