Skip to content

Commit

Permalink
fixup: set with -n, check with -Hn
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Oct 20, 2015
1 parent 5556196 commit 1a6d2e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-child-process-emfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if (common.isWindows) {
return;
}

const ulimit = Number(child_process.execSync('ulimit -n'));
const ulimit = Number(child_process.execSync('ulimit -Hn'));
if (ulimit > 64 || Number.isNaN(ulimit)) {
// Sorry about this nonsense. It can be replaced if
// /~https://github.com/nodejs/node-v0.x-archive/pull/2143#issuecomment-2847886
Expand Down

0 comments on commit 1a6d2e6

Please sign in to comment.