Permalink
Browse files

Fixing bug in default value for fatal

  • Loading branch information...
1 parent 467dfde commit 2597275497e0d83406d002a33ee7aac50b6576f6 @ozten ozten committed Oct 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/awsbox/post_deploy.js
@@ -5,7 +5,7 @@ var config = '/home/app/local.json',
devConfig = '/home/app/code/server/config/local.json';
var reportError = function (err, fatal) {
- fatal = fatal || true;
+ if (fatal === undefined) fatal = true;
console.error(err);
if (fatal) process.exit(1);
};

0 comments on commit 2597275

Please sign in to comment.