summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authordimitri staessens <dimitri.staessens@ugent.be>2017-09-20 10:02:18 +0200
committerdimitri staessens <dimitri.staessens@ugent.be>2017-09-20 12:50:36 +0200
commit36962003f216b8176f1799bf22af4d258ee8e542 (patch)
tree6ba0b24df64e6d0837c4d08d2a2b2b601ba01e2e /src/lib
parentc665c71719225ef6d076c6be24c588049527f31f (diff)
downloadouroboros-36962003f216b8176f1799bf22af4d258ee8e542.tar.gz
ouroboros-36962003f216b8176f1799bf22af4d258ee8e542.zip
ipcpd: Fix shutdown of rib
Fixes #50
Diffstat (limited to 'src/lib')
-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);