Propagate error code from fetching WPT changes.

This commit is contained in:
Josh Matthews 2018-02-11 22:09:20 -05:00 committed by GitHub
parent 9c94fe4279
commit 97b218d098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,6 +164,8 @@ function main() {
if [[ "${code}" == "255" ]]; then if [[ "${code}" == "255" ]]; then
echo "No changes to sync." echo "No changes to sync."
return 0 return 0
elif [[ "${code}" != "" ]]; then
return "${code}"
fi fi
fi fi