diff --git a/example/test-coverage.js b/example/test-coverage.js
index <HASH>..<HASH> 100755
--- a/example/test-coverage.js
+++ b/example/test-coverage.js
@@ -20,5 +20,9 @@ exec(sprintf('NODE_PATH=lib-cov %s/bin/whiskey --tests %s/example/test-success-w
       process.exit(5);
     }
 
+    if (err && err.code !== 0) {
+      process.exit(5);
+    }
+
     process.exit(0);
 });
Exit with non-zero if Whiskey exists with non-zero.