Make ulimit non-fatal to keep the ci-cuda machine happy
This commit is contained in:
parent
cd6736d70b
commit
db8f2d9f07
|
@ -10,8 +10,7 @@ fi
|
||||||
|
|
||||||
if [[ $(ulimit -n) -lt $maxOpenFds ]]; then
|
if [[ $(ulimit -n) -lt $maxOpenFds ]]; then
|
||||||
ulimit -n $maxOpenFds || {
|
ulimit -n $maxOpenFds || {
|
||||||
echo "Error: nofiles too small: $(ulimit -n). Run \"ulimit -n $maxOpenFds\" to continue";
|
echo "Error: nofiles too small: $(ulimit -n). Failed to run \"ulimit -n $maxOpenFds\"";
|
||||||
exit 1
|
|
||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue