mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Improve log message to make it obvious _why_ reading the configuration has failed.
svn:r2308
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user