Fix incorrect exit code from fail2ban-2to3

pull/128/merge^2
Steven Hiscocks 12 years ago
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…
Cancel
Save