From: Justin Erenkrantz Date: Sat, 3 Jan 2009 05:06:43 +0000 (+0000) Subject: Silence ulimit warnings on platforms/configs that don't support setting the X-Git-Tag: 2.3.1~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb98aff06ac8e142c72097f8096bde741fbdc5fa;p=apache Silence ulimit warnings on platforms/configs that don't support setting the 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 --- diff --git a/support/config.m4 b/support/config.m4 index 9eeda72af9..99bf7f7a5b 100644 --- a/support/config.m4 +++ b/support/config.m4 @@ -127,7 +127,7 @@ case $host in 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=""