Make ulimit non-fatal to keep the ci-cuda machine happy

This commit is contained in:
Michael Vines 2018-12-18 13:46:37 -08:00
parent cd6736d70b
commit db8f2d9f07
1 changed files with 1 additions and 2 deletions

View File

@ -10,8 +10,7 @@ fi
if [[ $(ulimit -n) -lt $maxOpenFds ]]; then
ulimit -n $maxOpenFds || {
echo "Error: nofiles too small: $(ulimit -n). Run \"ulimit -n $maxOpenFds\" to continue";
exit 1
echo "Error: nofiles too small: $(ulimit -n). Failed to run \"ulimit -n $maxOpenFds\"";
}
fi