Attached is a small patch for start-freenet.sh that could prevent some
problems with JVMs that dump their usage info to stderr instead of
stdout (Kaffe does this for example).

-- 
Jasper Jongmans                                   [EMAIL PROTECTED]
Website                      http://aprogas.student.utwente.nl/~aprogas/
PGP key                    ftp://aprogas.student.utwente.nl/keys/pgp-dss
PGP fingerprint       329B 461E 2EB6 48C0 8595  74D1 7EEB BE4C 7AB8 7C02
Index: start-freenet.sh
===================================================================
RCS file: /cvsroot/freenet/freenet/start-freenet.sh,v
retrieving revision 1.17
diff -u -r1.17 start-freenet.sh
--- start-freenet.sh    15 Mar 2002 09:21:13 -0000      1.17
+++ start-freenet.sh    27 Jun 2002 15:03:20 -0000
@@ -49,7 +49,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

Attachment: msg03349/pgp00000.pgp
Description: PGP signature

Reply via email to