[ticket/246] Exit with 1 if script encountered misspellings
B3P-246
This commit is contained in:
@@ -110,3 +110,9 @@ if (PHP_SAPI == 'cli')
|
|||||||
}
|
}
|
||||||
|
|
||||||
echo $output;
|
echo $output;
|
||||||
|
|
||||||
|
// Exit with 1 if script encountered issues
|
||||||
|
if (strlen($output) > 0)
|
||||||
|
{
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user