[or-cvs] if you tell people that IgnoreVersion exists,
Roger Dingledine
arma at seul.org
Wed Nov 19 21:24:06 UTC 2003
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
routers.c
Log Message:
if you tell people that IgnoreVersion exists,
some of them will use it rather than upgrade.
Index: routers.c
===================================================================
RCS file: /home/or/cvsroot/src/or/routers.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -d -r1.95 -r1.96
--- routers.c 18 Nov 2003 08:20:19 -0000 1.95
+++ routers.c 19 Nov 2003 21:24:04 -0000 1.96
@@ -506,11 +506,13 @@
return -1;
}
if (compare_recommended_versions(VERSION, directory->software_versions) < 0) {
- log(LOG_WARN, "You are running tor version %s, which is not recommended.\nPlease upgrade to one of %s.", VERSION, directory->software_versions);
+ log(options.IgnoreVersion ? LOG_WARN : LOG_ERR,
+ "You are running Tor version %s, which is not recommended.\n"
+ "Please upgrade to one of %s.",
+ VERSION, directory->software_versions);
if(options.IgnoreVersion) {
log(LOG_WARN, "IgnoreVersion is set. If it breaks, we told you so.");
} else {
- log(LOG_ERR,"Set IgnoreVersion config variable if you want to proceed.");
fflush(0);
exit(0);
}
More information about the tor-commits
mailing list