fix exit code

This commit is contained in:
Max Mehl 2019-10-03 13:42:00 +02:00
parent e66f2a4d38
commit fe4393b357
Signed by: max.mehl
GPG Key ID: 2704E4AB371E2E92
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ BASE=$(echo "${FILE}" | sed -E "s/\.[a-z][a-z]\.${EXT}//")
EN="${BASE}".en."${EXT}" EN="${BASE}".en."${EXT}"
if [ ! -e "${EN}" ]; then if [ ! -e "${EN}" ]; then
out "English file does not exist. Aborting. (${EN})" out "English file does not exist. Aborting. (${EN})"
exit 2 exit 0
fi fi
endate=$(git log --pretty="%cd" --date=raw -1 "${EN}"|cut -d' ' -f1) endate=$(git log --pretty="%cd" --date=raw -1 "${EN}"|cut -d' ' -f1)