diff options
-rw-r--r-- | src/or/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c index f459a1b608..c012018bb2 100644 --- a/src/or/connection.c +++ b/src/or/connection.c @@ -2397,7 +2397,8 @@ retry_listener_ports(smartlist_t *old_conns, /* We don't need to be root to create a UNIX socket, so defer until after * setuid. */ const or_options_t *options = get_options(); - if (port->is_unix_addr && !geteuid() && (options->User) && strcmp(options->User, "root")) + if (port->is_unix_addr && !geteuid() && (options->User) && + strcmp(options->User, "root")) continue; #endif |