From 8c8a8ba34fbfa73b73970c419faff8e543c97126 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 6 Feb 2011 18:41:18 +0100 Subject: [PATCH] remove the socket when ubusd exits --- ubusd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ubusd.c b/ubusd.c index 02e0086..aa74550 100644 --- a/ubusd.c +++ b/ubusd.c @@ -352,6 +352,7 @@ int main(int argc, char **argv) uloop_fd_add(&server_fd, ULOOP_READ | ULOOP_EDGE_TRIGGER); uloop_run(); + unlink(ubus_socket); out: uloop_done(); -- 2.11.0