summaryrefslogtreecommitdiff
path: root/src/lib/rib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/rib.c')
-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);