Skip to content

Commit c2265fc

Browse files
adoroszlaiahussein
authored andcommitted
HDDS-1800. Result of author check is inverted
Closes apache#1092
1 parent 1b84446 commit c2265fc

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)