do not try to remove sockets in abstract namespace

This commit is contained in:
roberto@quantal64
2012-09-17 06:47:07 +02:00
parent fdb002ad9b
commit 505b35be29
+1 -1
View File
@@ -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()");
}