You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by gn...@apache.org on 2008/05/22 10:31:16 UTC

svn commit: r659040 - /servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix

Author: gnodet
Date: Thu May 22 01:31:15 2008
New Revision: 659040

URL: http://svn.apache.org/viewvc?rev=659040&view=rev
Log:
Remove error when ulimit does not work

Modified:
    servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix

Modified: servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix?rev=659040&r1=659039&r2=659040&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix (original)
+++ servicemix/smx4/kernel/trunk/assembly/src/main/distribution/unix-shell/bin/servicemix Thu May 22 01:31:15 2008
@@ -94,7 +94,7 @@
                 MAX_FD="$MAX_FD_LIMIT"
             fi
 
-            ulimit -n $MAX_FD
+            ulimit -n $MAX_FD > /dev/null
             # echo "ulimit -n" `ulimit -n`
             if [ $? -ne 0 ]; then
                 warn "Could not set maximum file descriptor limit: $MAX_FD"