From: <los...@us...> - 2006-12-18 21:49:25
|
Revision: 492 http://svn.sourceforge.net/fail2ban/?rev=492&view=rev Author: lostcontrol Date: 2006-12-18 13:49:10 -0800 (Mon, 18 Dec 2006) Log Message: ----------- - Send SIGTERM instead of SIGINT when using "-k" Modified Paths: -------------- branches/FAIL2BAN-0_6/CHANGELOG branches/FAIL2BAN-0_6/utils/process.py branches/FAIL2BAN-0_6/version.py Modified: branches/FAIL2BAN-0_6/CHANGELOG =================================================================== --- branches/FAIL2BAN-0_6/CHANGELOG 2006-12-17 22:32:40 UTC (rev 491) +++ branches/FAIL2BAN-0_6/CHANGELOG 2006-12-18 21:49:10 UTC (rev 492) @@ -4,9 +4,13 @@ |_| \__,_|_|_/___|_.__/\__,_|_||_| ============================================================= -Fail2Ban (version 0.6.2) 2006/12/11 +Fail2Ban (version 0.6.3) 200?/??/?? ============================================================= +ver. 0.6.3 (200?/??/??) - stable +---------- +- Send SIGTERM instead of SIGINT when using "-k" + ver. 0.6.2 (2006/12/11) - stable ---------- - Fixed UTF-8 log file parsing Modified: branches/FAIL2BAN-0_6/utils/process.py =================================================================== --- branches/FAIL2BAN-0_6/utils/process.py 2006-12-17 22:32:40 UTC (rev 491) +++ branches/FAIL2BAN-0_6/utils/process.py 2006-12-18 21:49:10 UTC (rev 492) @@ -112,7 +112,7 @@ INT signal (same effect as <ctrl>+<c>). """ try: - return os.kill(pid, 2) + return os.kill(pid, signal.SIGTERM) except OSError: logSys.error("Can not kill process " + `pid` + ". Please check that " + "Fail2Ban is not running and remove the file " + Modified: branches/FAIL2BAN-0_6/version.py =================================================================== --- branches/FAIL2BAN-0_6/version.py 2006-12-17 22:32:40 UTC (rev 491) +++ branches/FAIL2BAN-0_6/version.py 2006-12-18 21:49:10 UTC (rev 492) @@ -24,4 +24,4 @@ __copyright__ = "Copyright (c) 2004 Cyril Jaquier" __license__ = "GPL" -version = "0.6.2" +version = "0.6.2-SVN" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |