]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Improve log message to make it obvious _why_ reading the configuration has failed.
authorNick Mathewson <nickm@torproject.org>
Tue, 24 Aug 2004 20:46:42 +0000 (20:46 +0000)
committerNick Mathewson <nickm@torproject.org>
Tue, 24 Aug 2004 20:46:42 +0000 (20:46 +0000)
svn:r2308

src/or/main.c

index 8c7a9ab731b5fc319a942f44d726e780c553b4a9..41a9ec4e157ae09df33aa62ac890ed132dd26977 100644 (file)
@@ -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;
   }