aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/policies/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py
index a641e45f..52afc823 100644
--- a/sos/policies/__init__.py
+++ b/sos/policies/__init__.py
@@ -432,9 +432,9 @@ class LinuxPolicy(Policy):
"that you are generating this "
"report for [%s]: ") % caseid)
self._print()
- except:
+ except KeyboardInterrupt:
self._print()
- self.report_name = localname
+ raise
if len(self.report_name) == 0:
self.report_name = localname