HDDS-1800. Result of author check is inverted

Closes #1092
This commit is contained in:
Doroszlai, Attila 2019-07-15 18:00:10 +02:00 committed by Márton Elek
parent 5446308360
commit 61bbdeee19
No known key found for this signature in database
GPG Key ID: D51EA8F00EE79B28
1 changed files with 2 additions and 3 deletions

View File

@ -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