Skip to content

Commit

Permalink
[bin] Simplify the binary
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalecki committed Oct 4, 2012
1 parent 6574ad7 commit dfd2b68
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions bin/jitsu
Expand Up @@ -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.