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, nextgens at emu.freenetproject.org 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 at freenetproject.org
> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> >
> >
> _______________________________________________
> Devl mailing list
> Devl at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20061125/c958561b/attachment.pgp>