Explorar o código

HDDS-1800. Result of author check is inverted

Closes #1092
Doroszlai, Attila %!s(int64=5) %!d(string=hai) anos
pai
achega
61bbdeee19
Modificáronse 1 ficheiros con 2 adicións e 3 borrados
  1. 2 3
      hadoop-ozone/dev-support/checks/author.sh

+ 2 - 3
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