Since a too low ulimit aborts the build, it's an error.

This commit is contained in:
Alexander Ljungberg
2013-01-30 11:35:59 +00:00
parent c874efaa24
commit e30d54723d
+1 -1
View File
@@ -552,7 +552,7 @@ global.checkUlimit = function()
if (Number(limit) < minUlimit) 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); stream.print("ulimit -n " + minUlimit);
OS.exit(1); OS.exit(1);
} }