From 2c7e30217188f49097ce86b081b1a694822ab363 Mon Sep 17 00:00:00 2001 From: Konstantin Schukraft Date: Sat, 2 Jan 2021 19:30:36 +0100 Subject: Add FreeBSD compatibility --- fs/tabfs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'fs/tabfs.c') 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 -- cgit v1.2.3