aboutsummaryrefslogtreecommitdiffstats
path: root/sosreport
diff options
context:
space:
mode:
Diffstat (limited to 'sosreport')
-rwxr-xr-xsosreport5
1 files changed, 4 insertions, 1 deletions
diff --git a/sosreport b/sosreport
index b8ad7188..4b354d3b 100755
--- a/sosreport
+++ b/sosreport
@@ -15,8 +15,11 @@
""" sos entry point. """
-from sos.sosreport import main
import sys
+try:
+ from sos.sosreport import main
+except KeyboardInterrupt:
+ raise SystemExit()
if __name__ == '__main__':
main(sys.argv[1:])