mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Fix incorrect exit code from fail2ban-2to3
This commit is contained in:
parent
184e0eccb6
commit
7e1819ed65
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ nonPyFiles="fail2ban-client fail2ban-server fail2ban-regex fail2ban-testcases"
|
|||
find . \
|
||||
-name "*.py" \
|
||||
-exec 2to3 -w --no-diffs $nonPyFiles {} + \
|
||||
|| echo "Fail!" >&2 && exit 1
|
||||
|| (echo "Fail!" >&2 && exit 1)
|
||||
|
||||
echo "Success!" >&2
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue