mirror of https://github.com/fail2ban/fail2ban
Fix incorrect exit code from fail2ban-2to3
parent
184e0eccb6
commit
7e1819ed65
|
@ -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 New Issue