remove the socket when ubusd exits
This commit is contained in:
parent
da9a7518f6
commit
8c8a8ba34f
1 changed files with 1 additions and 0 deletions
1
ubusd.c
1
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();
|
||||
|
|
Loading…
Reference in a new issue