From: Felix Fietkau Date: Sun, 6 Feb 2011 17:41:18 +0000 (+0100) Subject: remove the socket when ubusd exits X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8c8a8ba34fbfa73b73970c419faff8e543c97126;p=project%2Fubus.git remove the socket when ubusd exits --- 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();