[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:
parent
124ad0dc69
commit
b72bc0b257
|
@ -11,7 +11,9 @@
|
|||
|
||||
function bailout($message)
|
||||
{
|
||||
exit($message."\n");
|
||||
echo $message."\n";
|
||||
|
||||
exit(1);
|
||||
}
|
||||
|
||||
function check_dir($source)
|
||||
|
|
Reference in New Issue