[ticket/246] Exit with 1 if script encountered misspellings

B3P-246
This commit is contained in:
Marc Alexander
2014-04-14 01:05:16 +02:00
parent 51e6a6e9a8
commit 1ac06334b0

View File

@@ -110,3 +110,9 @@ if (PHP_SAPI == 'cli')
}
echo $output;
// Exit with 1 if script encountered issues
if (strlen($output) > 0)
{
exit(1);
}