From 701abfd250c7f2e68dd2d6f4490fec624ec8ade5 Mon Sep 17 00:00:00 2001 From: sebres Date: Mon, 21 Nov 2016 17:00:08 +0100 Subject: [PATCH] ChangeLog entry added + indentation fix (space-tab replacement) --- ChangeLog | 1 + fail2ban/tests/files/ignorecommand.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6d7ecf42..05a2e38f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -28,6 +28,7 @@ TODO: implementing of options resp. other tasks from PR #1346 * Pyinotify-backend: stability fix for sporadically errors in multi-threaded environment (without lock) * Fixed sporadically error in testCymruInfoNxdomain, because of unsorted values +* Misleading errors logged from ignorecommand in success case on retcode 1 (gh-1194) ### New Features * IPv6 support: diff --git a/fail2ban/tests/files/ignorecommand.py b/fail2ban/tests/files/ignorecommand.py index 8c115006..da48ff91 100755 --- a/fail2ban/tests/files/ignorecommand.py +++ b/fail2ban/tests/files/ignorecommand.py @@ -1,8 +1,8 @@ #!/usr/bin/env fail2ban-python import sys if len(sys.argv) != 2 or sys.argv[1] == "": - sys.stderr.write('usage: ignorecommand IP') - exit(10) + sys.stderr.write('usage: ignorecommand IP') + exit(10) if sys.argv[1] == "10.0.0.1": exit(0) exit(1)