[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Improve log message to make it obvious _why_ reading the co...



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv4809/src/or

Modified Files:
	main.c 
Log Message:
Improve log message to make it obvious _why_ reading the configuration has failed.

Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.321
retrieving revision 1.322
diff -u -d -r1.321 -r1.322
--- main.c	18 Aug 2004 06:48:45 -0000	1.321
+++ main.c	24 Aug 2004 20:46:42 -0000	1.322
@@ -664,7 +664,7 @@
 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;
   }