This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch ozone-0.4.1
in repository https://gitbox.apache.org/repos/asf/hadoop.git

commit 3c41bc7f918e8e850966ef65a68cb7caa3dc009b
Author: Doroszlai, Attila <adorosz...@apache.org>
AuthorDate: Mon Jul 15 18:00:10 2019 +0200

    HDDS-1800. Result of author check is inverted
    
    Closes #1092
---
 hadoop-ozone/dev-support/checks/author.sh | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/hadoop-ozone/dev-support/checks/author.sh 
b/hadoop-ozone/dev-support/checks/author.sh
index d5a469c..f50a396 100755
--- a/hadoop-ozone/dev-support/checks/author.sh
+++ b/hadoop-ozone/dev-support/checks/author.sh
@@ -20,9 +20,8 @@ cd "$DIR/../../.." || exit 1
 AUTHOR="uthor"
 AUTHOR="@a${AUTHOR}"
 
-grep -r --include="*.java" "$AUTHOR" .
 if grep -r --include="*.java" "$AUTHOR" .; then
-  exit 0
-else
   exit 1
+else
+  exit 0
 fi


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to