fix exit code
This commit is contained in:
parent
e66f2a4d38
commit
fe4393b357
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue