remove the socket when ubusd exits

This commit is contained in:
Felix Fietkau 2011-02-06 18:41:18 +01:00
parent da9a7518f6
commit 8c8a8ba34f

View file

@ -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();