Explorar o código

Improve log message to make it obvious _why_ reading the configuration has failed.

svn:r2308
Nick Mathewson %!s(int64=21) %!d(string=hai) anos
pai
achega
4b4bfd500a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/main.c

+ 1 - 1
src/or/main.c

@@ -664,7 +664,7 @@ static int prepare_for_poll(void) {
 static int init_from_config(int argc, char **argv) {
   /* read the configuration file. */
   if(getconfig(argc,argv,&options)) {
-    log_fn(LOG_ERR,"Reading config failed. For usage, try -h.");
+    log_fn(LOG_ERR,"Reading config failed--see warnings above. For usage, try -h.");
     return -1;
   }