From fb98aff06ac8e142c72097f8096bde741fbdc5fa Mon Sep 17 00:00:00 2001 From: Justin Erenkrantz Date: Sat, 3 Jan 2009 05:06:43 +0000 Subject: [PATCH] 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 --- support/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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="" -- 2.40.0