Skip to content

Commit

Permalink
Merge pull request #50 from arbus/error_code
Browse files Browse the repository at this point in the history
Adding a proper exit code. Fixes #38, #50.
  • Loading branch information
danielgtaylor committed Aug 6, 2014
2 parents da46e46 + 7566e13 commit 7acf86b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/aglio.js
@@ -1,3 +1,7 @@
#!/usr/bin/env node

require('../lib/bin').run();
require('../lib/bin').run(null, function(err){
if(err){
process.exit(1);
}
});

0 comments on commit 7acf86b

Please sign in to comment.