commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1132665 - /commons/proper/daemon/trunk/src/samples/Tomcat7.sh
Date Mon, 06 Jun 2011 15:17:27 GMT
Author: mturk
Date: Mon Jun  6 15:17:22 2011
New Revision: 1132665

URL: http://svn.apache.org/viewvc?rev=1132665&view=rev
Log:
Fix typo

Modified:
    commons/proper/daemon/trunk/src/samples/Tomcat7.sh

Modified: commons/proper/daemon/trunk/src/samples/Tomcat7.sh
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/Tomcat7.sh?rev=1132665&r1=1132664&r2=1132665&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/Tomcat7.sh (original)
+++ commons/proper/daemon/trunk/src/samples/Tomcat7.sh Mon Jun  6 15:17:22 2011
@@ -145,7 +145,7 @@ if [ "$cygwin" = "false" ]; then
         if [ "$darwin" = "true" -a "$MAX_FD_LIMIT" = "unlimited" ]; then
             MAX_FD_LIMIT=`/usr/sbin/sysctl -n kern.maxfilesperproc`
         fi
-        test ".$MAX_FD" = "maximum" && MAX_FD="$MAX_FD_LIMIT"
+        test ".$MAX_FD" = ".maximum" && MAX_FD="$MAX_FD_LIMIT"
         ulimit -n $MAX_FD
         if [ "$?" -ne 0 ]; then
             echo "$PROGRAM: Could not set maximum file descriptor limit: $MAX_FD"



Mime
View raw message