summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordimitri staessens <[email protected]>2017-09-20 10:02:18 +0200
committerdimitri staessens <[email protected]>2017-09-20 12:50:36 +0200
commit36962003f216b8176f1799bf22af4d258ee8e542 (patch)
tree6ba0b24df64e6d0837c4d08d2a2b2b601ba01e2e
parentc665c71719225ef6d076c6be24c588049527f31f (diff)
downloadouroboros-36962003f216b8176f1799bf22af4d258ee8e542.tar.gz
ouroboros-36962003f216b8176f1799bf22af4d258ee8e542.zip
ipcpd: Fix shutdown of rib
Fixes #50
-rw-r--r--src/lib/rib.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/rib.c b/src/lib/rib.c
index b6c8e140..579d9aac 100644
--- a/src/lib/rib.c
+++ b/src/lib/rib.c
@@ -305,7 +305,10 @@ void rib_fini(void)
struct list_head * p;
struct list_head * h;
+ fuse_exit(rib.fuse);
+
fuse_unmount(rib.mnt, rib.ch);
+
pthread_join(rib.fuse_thr, NULL);
fuse_destroy(rib.fuse);