aboutsummaryrefslogtreecommitdiffstats
path: root/fs/tabfs.c
diff options
context:
space:
mode:
authorOmar Rizwan <omar@omar.website>2021-01-02 11:47:32 -0800
committerGitHub <noreply@github.com>2021-01-02 11:47:32 -0800
commit1f9d5de4dadac826655ea6b412004a9c0b56dc21 (patch)
treebb3859bcf17166d1e08cfefc8c4f08d6d87970a0 /fs/tabfs.c
parentfef9289e3a7f82cda6319d5f19d5a5f13f3cc44b (diff)
parent2c7e30217188f49097ce86b081b1a694822ab363 (diff)
Merge pull request #19 from yggdr/freebsd
FreeBSD compatibility
Diffstat (limited to 'fs/tabfs.c')
-rw-r--r--fs/tabfs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/tabfs.c b/fs/tabfs.c
index c5ed91e..fecec22 100644
--- a/fs/tabfs.c
+++ b/fs/tabfs.c
@@ -216,6 +216,8 @@ int main(int argc, char **argv) {
system(killcmd);
#ifdef __APPLE__
system("diskutil umount force mnt > /dev/null");
+#elif __FreeBSD__
+ system("umount -f mnt");
#else
system("fusermount -u mnt");
#endif