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)