Merge pull request #53 from yggdr/fix_freebsd

Fix FreeBSD support that broke when multithreading was implemented
This commit is contained in:
Omar Rizwan 2021-01-11 12:44:43 -08:00 committed by GitHub
commit 6cd6fc2a15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -36,3 +36,4 @@ unmount:
killall -9 tabfs || true
diskutil unmount force mnt || true
fusermount -u mnt || true
umount -f mnt || true

View file

@ -479,7 +479,9 @@ int main(int argc, char **argv) {
argv[0],
"-f",
#if !defined(__APPLE__)
#if !defined(__FreeBSD__)
"-oauto_unmount",
#endif
#endif
"-odirect_io",
getenv("TABFS_MOUNT_DIR"),