aboutsummaryrefslogtreecommitdiffstats
path: root/src/sosreport
diff options
context:
space:
mode:
authorjwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-02-17 14:53:50 +0000
committerjwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8>2007-02-17 14:53:50 +0000
commit2c0f5c3c80cd1bf8a53b8100055942843f76fae7 (patch)
tree391455ec323b1c0e34c0735ba26572ecfc9cfe89 /src/sosreport
parent4e52ef7987af2d3f7ea934c4bbb0c675733b5791 (diff)
downloadsos-2c0f5c3c80cd1bf8a53b8100055942843f76fae7.tar.gz
First stage interrupt / ^C handling
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/sos/trunk@78 ef72aa8b-4018-0410-8976-d6e080ef94d8
Diffstat (limited to 'src/sosreport')
-rwxr-xr-xsrc/sosreport5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sosreport b/src/sosreport
index 45625ea9..ba5781af 100755
--- a/src/sosreport
+++ b/src/sosreport
@@ -56,8 +56,11 @@ def doExitCode():
if ( ( activeCount() == 1 ) and ( __breakHits__ > 2 ) ):
print "Multiple SIGTERMs, single thread, exiting without cleaning up."
sys.exit(3)
+
+
# FIXME: Add code here to clean up /tmp
- sys.exit(255)
+ print "Calling sys.exit from doExitCode()"
+ sys.exit("Abnormal exit")
# Handle any sort of exit signal cleanly
# Currently, we intercept only sig 15 (TERM)