Don't warn on cleanup unlink error
We may catch an exit signal before we actually bound to the socket.
This commit is contained in:
parent
24167b5c07
commit
1a0eca12a5
1 changed files with 2 additions and 3 deletions
5
quark.c
5
quark.c
|
@ -894,9 +894,8 @@ static void
|
||||||
cleanup(void)
|
cleanup(void)
|
||||||
{
|
{
|
||||||
close(insock);
|
close(insock);
|
||||||
if (udsname) {
|
if (udsname)
|
||||||
if (unlink(udsname) < 0)
|
unlink(udsname);
|
||||||
fprintf(stderr, "unlink: %s\n", strerror(errno));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue