soft limit to the hard limit (aka default Mac OS X).
* support/config.m4: Redirect output to /dev/null.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730911
13f79535-47bb-0310-9956-
ffa450edef68
APACHECTL_ULIMIT="ulimit -S -n \`ulimit -h -n\`"
;;
*)
- if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT ; then
+ if TMP_ULIMIT=`ulimit -H -n` && ulimit -S -n $TMP_ULIMIT >/dev/null 2>&1; then
APACHECTL_ULIMIT="ulimit -S -n \`ulimit -H -n\`"
else
APACHECTL_ULIMIT=""