Merge pull request #24596 from tengqm/fix-lsync-script

Fix issue in lsync script
This commit is contained in:
Kubernetes Prow Robot 2020-10-16 03:09:25 -07:00 committed by GitHub
commit 225747fb73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ fi
# Last commit for the localized file
LASTCOMMIT=`git log -n 1 --pretty=format:%h -- $LOCALIZED`
git diff $LASTCOMMIT...HEAD $EN_VERSION
git diff --exit-code $LASTCOMMIT...HEAD $EN_VERSION
if [ "$?" -eq 0 ]; then
echo "$LOCALIZED is still in sync"