Merge branch 'vladimir-kotikov-master'
diff --git a/lib/parseJob.js b/lib/parseJob.js
index 804be10..9d6bffa 100644
--- a/lib/parseJob.js
+++ b/lib/parseJob.js
@@ -6,11 +6,10 @@
     fileContents, obj;
 
 try {
-    fileContents = fs.readFileSync(path, 'utf-8'),
-    obj = parser.parse(fileContents)
-    process.send(obj)
-    process.exit()
+    fileContents = fs.readFileSync(path, 'utf-8');
+    obj = parser.parse(fileContents);
+    process.send(obj);
 } catch (e) {
-    process.send(e)
-    process.exit(1)
+    process.send(e);
+    process.exitCode = 1;
 }