diff --git a/run.php b/run.php
index <HASH>..<HASH> 100644
--- a/run.php
+++ b/run.php
@@ -175,5 +175,5 @@ if (!$options['quiet']) {
  	echo "=======" . PHP_EOL . PHP_EOL;
  	echo "Reporting Completed." . PHP_EOL;
 }
-
-exit(0);
+$exitCode = $errorCounts[ERROR] > 0?1:0; 
+exit($exitCode);
Added a exit code appropriate to the error count.