[Locale] fixed build-data exit code in case of an error

When passing a message to the exit() function, PHP returns 0 instead of
an error code.
This commit is contained in:
Fabien Potencier 2013-08-22 08:25:36 +02:00
parent 124ad0dc69
commit b72bc0b257
1 changed files with 3 additions and 1 deletions

View File

@ -11,7 +11,9 @@
function bailout($message)
{
exit($message."\n");
echo $message."\n";
exit(1);
}
function check_dir($source)