Browse files

[bin] Simplify the binary

  • Loading branch information...
1 parent 6574ad7 commit dfd2b6852d60b36c408d94c0f8b687867b9d9302 @mmalecki mmalecki committed Oct 5, 2012
Showing with 1 addition and 12 deletions.
  1. +1 −12 bin/jitsu
View
13 bin/jitsu
@@ -9,16 +9,5 @@ jitsu.start(function (err) {
jitsu.log.info('Nodejitsu'.grey + ' ok'.green.bold);
}
- process.stdout.on('drain', function () {
- process.exit(err ? 1 : 0);
- })
-
- function onexit (code, status) {
- if (err) {
- process.removeListener('exit', onexit);
- process.exit(1);
- }
- }
-
- process.on('exit', onexit);
+ process.exit(err ? 1 : 0);
});

0 comments on commit dfd2b68

Please sign in to comment.