Skip to content

Commit 3c41bc7

Browse files
adoroszlaielek
authored andcommitted
HDDS-1800. Result of author check is inverted
Closes #1092
1 parent 97897b6 commit 3c41bc7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

hadoop-ozone/dev-support/checks/author.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,8 @@ cd "$DIR/../../.." || exit 1
2020
AUTHOR="uthor"
2121
AUTHOR="@a${AUTHOR}"
2222

23-
grep -r --include="*.java" "$AUTHOR" .
2423
if grep -r --include="*.java" "$AUTHOR" .; then
25-
exit 0
26-
else
2724
exit 1
25+
else
26+
exit 0
2827
fi

0 commit comments

Comments
 (0)