summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-08-24 20:46:42 +0000
committerNick Mathewson <nickm@torproject.org>2004-08-24 20:46:42 +0000
commit4b4bfd500a1b4919f385314172ae71e0acfa79e2 (patch)
treecaae198397f964305666c455ceb81d663f4ca020
parenta00949f8e1c67cb52188995f520fd224acf0be7b (diff)
downloadtor-4b4bfd500a1b4919f385314172ae71e0acfa79e2.tar.gz
tor-4b4bfd500a1b4919f385314172ae71e0acfa79e2.zip
Improve log message to make it obvious _why_ reading the configuration has failed.
svn:r2308
-rw-r--r--src/or/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 8c7a9ab731..41a9ec4e15 100644
--- a/src/or/main.c
+++ b/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;
}