aboutsummaryrefslogtreecommitdiffstats
path: root/sosreport
diff options
context:
space:
mode:
Diffstat (limited to 'sosreport')
-rwxr-xr-xsosreport8
1 files changed, 3 insertions, 5 deletions
diff --git a/sosreport b/sosreport
index 0908a1b4..5d3cc749 100755
--- a/sosreport
+++ b/sosreport
@@ -15,13 +15,11 @@
""" sos entry point. """
-from sos.sosreport import sosreport, doExitCode
+#from sos.sosreport import sosreport, doExitCode
+from sos.sosreport import main
import sys
if __name__ == '__main__':
- try:
- sosreport(sys.argv[1:])
- except KeyboardInterrupt:
- doExitCode()
+ main(sys.argv[1:])
# vim:ts=4 et sw=4