Fix travis script for checking for invalid UTF8.

Previously it wouldn't treat not having the `isutf8` command like a failure.
This commit is contained in:
Pentarctagon 2020-02-19 20:27:37 -06:00 committed by Pentarctagon
parent c41dda060d
commit 46e9a42f13

View file

@ -3,7 +3,7 @@
#
# This script assumes that the current working directory is the root of the wesnoth repository.
command -v isutf8 >/dev/null || { echo "Install 'isutf8' from moreutils to use this script."; exit 0; }
command -v isutf8 >/dev/null || { echo "Install 'isutf8' from moreutils to use this script."; exit 1; }
exit_code=0