Skip to content

Commit

Permalink
Since a too low ulimit aborts the build, it's an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
aljungberg committed Jan 30, 2013
1 parent c874efa commit e30d547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common.jake
Expand Up @@ -552,7 +552,7 @@ global.checkUlimit = function()

if (Number(limit) < minUlimit)
{
stream.print("\0red(\0bold(WARNING:\0)\0) Cappuccino may need to open more files than this terminal session currently allows (" + limit + "). Add the following line to your login configuration file (.bash_profile, .bashrc, etc.), start a new terminal session, then try again:\n");
stream.print("\0red(\0bold(ERROR:\0)\0) Cappuccino may need to open more files than this terminal session currently allows (" + limit + "). Add the following line to your login configuration file (.bash_profile, .bashrc, etc.), start a new terminal session, then try again:\n");
stream.print("ulimit -n " + minUlimit);
OS.exit(1);
}
Expand Down

0 comments on commit e30d547

Please sign in to comment.