diff options
author | Steven Hiscocks <steven@hiscocks.me.uk> | 2013-02-24 19:34:05 +0000 |
---|---|---|
committer | Steven Hiscocks <steven@hiscocks.me.uk> | 2013-02-24 19:34:05 +0000 |
commit | 7e1819ed65954da7f56f77e8835d6eef759c9338 (patch) | |
tree | 0e71e6de82d5fccc2dad33e8495425294ec2fa60 /fail2ban-2to3 | |
parent | 184e0eccb6b054799f51faa63c05a1661e083e21 (diff) | |
download | fail2ban-7e1819ed65954da7f56f77e8835d6eef759c9338.tar.gz |
Fix incorrect exit code from fail2ban-2to3
Diffstat (limited to 'fail2ban-2to3')
-rwxr-xr-x | fail2ban-2to3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fail2ban-2to3 b/fail2ban-2to3 index f0e292d6..a6a61090 100755 --- a/fail2ban-2to3 +++ b/fail2ban-2to3 @@ -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 |