From 5a9a3e1b4dc1144f499b5a99159f378675a02aca Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 8 Aug 2019 13:47:14 -0600 Subject: [PATCH] propagate error code --- contrib/utilities/indent_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/utilities/indent_common.sh b/contrib/utilities/indent_common.sh index 086dad381e..1c6d8e0a09 100644 --- a/contrib/utilities/indent_common.sh +++ b/contrib/utilities/indent_common.sh @@ -88,7 +88,7 @@ checks() { echo "invalid author '$name' without firstname and lastname" exit 2 fi - done + done || exit 2 # now emails: git log --since "2019-01-01" --format="%aE" | sort -u | while read email ; do @@ -101,7 +101,7 @@ checks() { echo "invalid email '$email'" exit 3 fi - done + done || exit 3 } -- 2.39.5