- Send SIGTERM instead of SIGINT when using "-k"

git-svn-id: https://fail2ban.svn.sourceforge.net/svnroot/fail2ban/branches/FAIL2BAN-0_6@492 a942ae1a-1317-0410-a47c-b1dcaea8d605
0.6
Cyril Jaquier 2006-12-18 21:49:10 +00:00
parent 3ba3346dec
commit ef0bf70ba3
3 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -112,7 +112,7 @@ def killPID(pid):
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 " +

View File

@ -24,4 +24,4 @@ __date__ = "$Date$"
__copyright__ = "Copyright (c) 2004 Cyril Jaquier"
__license__ = "GPL"
version = "0.6.2"
version = "0.6.2-SVN"