projects
/
project
/
ubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
da9a751
)
remove the socket when ubusd exits
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 6 Feb 2011 17:41:18 +0000
(18:41 +0100)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 6 Feb 2011 17:41:18 +0000
(18:41 +0100)
ubusd.c
patch
|
blob
|
history
diff --git
a/ubusd.c
b/ubusd.c
index
02e0086
..
aa74550
100644
(file)
--- 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();
uloop_fd_add(&server_fd, ULOOP_READ | ULOOP_EDGE_TRIGGER);
uloop_run();
+ unlink(ubus_socket);
out:
uloop_done();
out:
uloop_done();