Skip to content

Commit c6df547

Browse files
author
Junio C Hamano
committed
Merge branch 'sh/daemon'
* sh/daemon: socksetup: don't return on set_reuse_addr() error
2 parents 2effe71 + 0032d54 commit c6df547

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ static int socksetup(int port, int **socklist_p)
535535

536536
if (set_reuse_addr(sockfd)) {
537537
close(sockfd);
538-
return 0; /* not fatal */
538+
continue;
539539
}
540540

541541
if (bind(sockfd, ai->ai_addr, ai->ai_addrlen) < 0) {

0 commit comments

Comments
 (0)