diff options
author | jwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-02-17 14:53:50 +0000 |
---|---|---|
committer | jwbernin <jwbernin@ef72aa8b-4018-0410-8976-d6e080ef94d8> | 2007-02-17 14:53:50 +0000 |
commit | 2c0f5c3c80cd1bf8a53b8100055942843f76fae7 (patch) | |
tree | 391455ec323b1c0e34c0735ba26572ecfc9cfe89 /src/sosreport | |
parent | 4e52ef7987af2d3f7ea934c4bbb0c675733b5791 (diff) | |
download | sos-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-x | src/sosreport | 5 |
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) |