X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=credential-cache.c;h=9a03792c7de109e957a1f01924c4f66ba87b5c87;hb=fe6c64ab0b2b568755a6686c0a435fa95ef619bb;hp=193301877f1ee29f54c2da0b933d9b7fe10f157a;hpb=8ec6c8d79567a71ca3c6f1ec73eb453d371b1ade;p=git.git diff --git a/credential-cache.c b/credential-cache.c index 193301877..9a03792c7 100644 --- a/credential-cache.c +++ b/credential-cache.c @@ -72,7 +72,7 @@ static void do_cache(const char *socket, const char *action, int timeout, } if (send_request(socket, &buf) < 0) { - if (errno != ENOENT) + if (errno != ENOENT && errno != ECONNREFUSED) die_errno("unable to connect to cache daemon"); if (flags & FLAG_SPAWN) { spawn_daemon(socket);