* Ed Tomlinson <edt at aei.ca> [2006-11-25 18:42:40]:
> Hi,
>
> As prevously discussed, can we please make this a config option?
Well, if you send us a patch, I'll commit it ;)
I've filled in a ticket on the BTS for it.
>
> 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
--
NextGen$.
"On peut ob??r aux lois en souhaitant qu'elles changent, comme on sert ? la
guerre en souhaitant la paix."
Merleau Ponty - L'?loge de la philosophie
-------------- 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/20061126/c09af1d4/attachment.pgp>