ソースを参照

HDDS-1800. Result of author check is inverted

Closes #1092
Doroszlai, Attila 5 年 前
コミット
61bbdeee19
1 ファイル変更2 行追加3 行削除
  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