Add url of Swedish l10n team in TEAMS file
[gitweb.git] / credential-cache.c
index 193301877f1ee29f54c2da0b933d9b7fe10f157a..9a03792c7de109e957a1f01924c4f66ba87b5c87 100644 (file)
@@ -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);