From 7e1819ed65954da7f56f77e8835d6eef759c9338 Mon Sep 17 00:00:00 2001 From: Steven Hiscocks Date: Sun, 24 Feb 2013 19:34:05 +0000 Subject: [PATCH] Fix incorrect exit code from fail2ban-2to3 --- fail2ban-2to3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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