X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=daemon.c;h=776749e3432fca916981d73d04a1fa19ed3d88b8;hb=e5f38ec3c5d8553413501e6141932b8ccc7aceb4;hp=a1ccda30e2211368c66c1186437891f548f0e338;hpb=1a17ee22a2fbd85a893ab36fd53168d03554c2dd;p=git.git diff --git a/daemon.c b/daemon.c index a1ccda30..776749e3 100644 --- a/daemon.c +++ b/daemon.c @@ -535,7 +535,7 @@ static int socksetup(int port, int **socklist_p) if (set_reuse_addr(sockfd)) { close(sockfd); - return 0; /* not fatal */ + continue; } if (bind(sockfd, ai->ai_addr, ai->ai_addrlen) < 0) {