From 505b35be299578fc0e32a653b9ee0e9fb1ecd617 Mon Sep 17 00:00:00 2001 From: "roberto@quantal64" Date: Mon, 17 Sep 2012 06:47:07 +0200 Subject: [PATCH] do not try to remove sockets in abstract namespace --- core/uwsgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uwsgi.c b/core/uwsgi.c index 458acefb..5bbe9fbb 100644 --- a/core/uwsgi.c +++ b/core/uwsgi.c @@ -1216,7 +1216,7 @@ static void vacuum(void) { } } while (uwsgi_sock) { - if (uwsgi_sock->family == AF_UNIX) { + if (uwsgi_sock->family == AF_UNIX && uwsgi_sock->name[0] != '@') { if (unlink(uwsgi_sock->name)) { uwsgi_error("unlink()"); }