This is sent by request of Aprogas.  It fixes the case where the JVM
dumps usage to stderr instead of stdout (e.g. kaffe).

-- 
Greg Wooledge                  |   "Truth belongs to everybody."
greg at wooledge.org              |    - The Red Hot Chili Peppers
http://wooledge.org/~greg/     |
-------------- next part --------------
Index: start-freenet.sh
===================================================================
RCS file: /cvsroot/freenet/freenet/start-freenet.sh,v
retrieving revision 1.24.2.2
diff -u -r1.24.2.2 start-freenet.sh
--- start-freenet.sh    29 Oct 2002 20:49:48 -0000      1.24.2.2
+++ start-freenet.sh    30 Oct 2002 15:46:07 -0000
@@ -53,7 +53,7 @@
 fi

 # if Sun JDK set -server option as suggested on mailing list
-if java -help | grep "[-]server" >/dev/null ;
+if java -help 2>&1 | grep "[-]server" >/dev/null ;
 then
   JAVA_ARGS="-server"
 else
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20021030/c475c69d/attachment.pgp>

Reply via email to