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.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/rib.c b/src/lib/rib.c
index 8fda19d4..27c66f2f 100644
--- a/src/lib/rib.c
+++ b/src/lib/rib.c
@@ -29,7 +29,6 @@
#include <ouroboros/rib.h>
#include <ouroboros/utils.h>
-
#include <assert.h>
#include <pthread.h>
#include <stdio.h>
@@ -292,12 +291,6 @@ int rib_init(const char * mountpt)
if (stat(FUSE_PREFIX, &st) == -1)
goto fail;
- /* This is crap to allow IPCP RIB to remount to a different name */
- if (strlen(rib.mnt) > 0) {
- fuse_unmount(rib.mnt, rib.ch);
- rmdir(rib.mnt);
- }
-
sprintf(rib.mnt, FUSE_PREFIX "/%s", mountpt);
if (stat(rib.mnt, &st) == -1)