Merge branch 'MDL-47395' of git://github.com/nebgor/moodle

This commit is contained in:
Sam Hemelryk 2014-09-29 09:11:25 +13:00
commit d672e25b6c

View File

@ -171,7 +171,7 @@ function cli_problem($text) {
* @return void (does not return)
*/
function cli_error($text, $errorcode=1) {
fwrite(STDERR, $text);
fwrite(STDERR, "\xE2\x9D\x8C ". $text);
fwrite(STDERR, "\n");
die($errorcode);
}