On Sat, Oct 22, 2011 at 06:25:52PM +0100, Ramsay Jones wrote: > diff --git a/credential-cache--daemon.c b/credential-cache--daemon.c > index ee2c15a..c5fb1b2 100644 > --- a/credential-cache--daemon.c > +++ b/credential-cache--daemon.c > @@ -230,6 +230,7 @@ static void serve_cache(const char *socket_path) > { > int fd; > > + unlink(socket_path); > fd = unix_stream_listen(socket_path); > if (fd < 0) > die_errno("unable to bind to '%s'", socket_path); I think this is a sane thing to do, if it's more portable. We can just get rid of the double-bind attempt in unix_stream_listen, now. I suspect this unlink should probably just go directly into unix_stream_listen, too. -Peff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html