Browse files

ensure exit code propagation from install script

  • Loading branch information...
1 parent 43f493a commit e4f6d0737ba1e4c0d209a1d916454dcafdc56969 @einaros einaros committed May 1, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 install.js
View
4 install.js
@@ -17,7 +17,9 @@ if(build_native) {
gyp.stderr.on('data', function(data) {
process.stdout.write(data);
});
- gyp.on('exit', function(code) {});
+ gyp.on('exit', function(code) {
+ process.exit(code);
+ });
}
else {
process.stdout.write("================================================================================\n");

0 comments on commit e4f6d07

Please sign in to comment.