forked from lix-project/lix
Show why GC socket connection was refused
Co-authored-by: John Ericson <git@JohnEricson.me>
This commit is contained in:
parent
3859b42597
commit
faf87b51f7
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ void LocalStore::addTempRoot(const StorePath & path)
|
||||||
/* The garbage collector may have exited or not
|
/* The garbage collector may have exited or not
|
||||||
created the socket yet, so we need to restart. */
|
created the socket yet, so we need to restart. */
|
||||||
if (e.errNo == ECONNREFUSED || e.errNo == ENOENT) {
|
if (e.errNo == ECONNREFUSED || e.errNo == ENOENT) {
|
||||||
debug("GC socket connection refused");
|
debug("GC socket connection refused: %s", e.msg())
|
||||||
fdRootsSocket->close();
|
fdRootsSocket->close();
|
||||||
goto restart;
|
goto restart;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue