diff --git a/bin/cmd.js b/bin/cmd.js
index <HASH>..<HASH> 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -21,6 +21,7 @@ function checkFile(fileName) {
     var err = leaky(str, fileName);
     if (err) {
       console.log(err);
+      process.exit(1);
     }
   });
 }
@@ -40,4 +41,4 @@ fs.stat(path.resolve(input), function (err, stats) {
   if(stats.isFile()) {
     checkFile(input);
   }
-});
\ No newline at end of file
+});
If there is a leak, set the exit code to 1.