On Sat, Nov 25, 2006 at 06:42:40PM -0500, Ed Tomlinson wrote:
> Hi,
> 
> As prevously discussed, can we please make this a config option?

Sure. Any patch would be welcome.
> 
> Thanks
> Ed
> 
> On Friday 24 November 2006 19:17, [EMAIL PROTECTED] wrote:
> > Author: nextgens
> > Date: 2006-11-25 00:17:11 +0000 (Sat, 25 Nov 2006)
> > New Revision: 11047
> > 
> > Modified:
> >    trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java
> > Log:
> > Don't try to start the updater if we aren't running under the wrapper.
> > 
> > Modified: trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java
> > ===================================================================
> > --- trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java  
> > 2006-11-24 23:12:44 UTC (rev 11046)
> > +++ trunk/freenet/src/freenet/node/updater/NodeUpdaterManager.java  
> > 2006-11-25 00:17:11 UTC (rev 11047)
> > @@ -169,6 +169,10 @@
> >      */
> >     void enable(boolean enable) throws InvalidConfigValueException {
> >             logMINOR = Logger.shouldLog(Logger.MINOR, this);
> > +           if(!node.isUsingWrapper()){
> > +                   Logger.normal(this, "Don't try to start the updater as 
> > we are not running under the wrapper.");
> > +                   return;
> > +           }
> >             NodeUpdater main = null, ext = null;
> >             synchronized(this) {
> >                     boolean enabled = (mainUpdater != null && 
> > mainUpdater.isRunning());
> > 
> > _______________________________________________
> > cvs mailing list
> > cvs@freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> > 
> > 
> _______________________________________________
> Devl mailing list
> Devl@freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
> 

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Devl mailing list
Devl@freenetproject.org
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl

Reply via email to