Skip to content

Commit

Permalink
Merge pull request #1 from subtleGradient/patch-1
Browse files Browse the repository at this point in the history
Fail should exit with an error code
  • Loading branch information
nrabinowitz committed Aug 15, 2011
2 parents 1aa5db6 + df6251a commit 5182374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pjscrape.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ phantom.injectJs('lib/md5.js');

function fail(msg) {
console.log('FATAL ERROR: ' + msg);
phantom.exit();
phantom.exit(1);
};

/**
Expand Down

0 comments on commit 5182374

Please sign in to comment.