diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index ae14d3bff..2402a64e9 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -220,8 +220,8 @@ int getconfig(int argc, char **argv, or_options_t *options) { } if(i < argc-1) { /* we found one */ fname = argv[i+1]; - } else { /* didn't find one, try /etc/torrc */ - fname = "/etc/torrc"; + } else { /* didn't find one, try CONFDIR */ + fname = CONFDIR "/torrc"; } log(LOG_DEBUG,"Opening config file '%s'",fname); |