|
@@ -1068,6 +1068,7 @@ connection_listener_new(const struct sockaddr *listensockaddr,
|
|
|
log_warn(LD_NET,"Unable to chown() %s socket: user %s not found.",
|
|
|
address, options->User);
|
|
|
tor_close_socket(s);
|
|
|
+ goto err;
|
|
|
} else if (chown(address, pw->pw_uid, pw->pw_gid) < 0) {
|
|
|
log_warn(LD_NET,"Unable to chown() %s socket: %s.",
|
|
|
address, strerror(errno));
|