mirror of
https://github.com/osnr/TabFS.git
synced 2024-05-07 08:06:34 +02:00
Fix FreeBSD support that broke when multithreading was implemented
This commit is contained in:
parent
5f6cad2c71
commit
88925318e0
|
@ -36,3 +36,4 @@ unmount:
|
||||||
killall -9 tabfs || true
|
killall -9 tabfs || true
|
||||||
diskutil unmount force mnt || true
|
diskutil unmount force mnt || true
|
||||||
fusermount -u mnt || true
|
fusermount -u mnt || true
|
||||||
|
umount -f mnt || true
|
||||||
|
|
|
@ -479,7 +479,9 @@ int main(int argc, char **argv) {
|
||||||
argv[0],
|
argv[0],
|
||||||
"-f",
|
"-f",
|
||||||
#if !defined(__APPLE__)
|
#if !defined(__APPLE__)
|
||||||
|
#if !defined(__FreeBSD__)
|
||||||
"-oauto_unmount",
|
"-oauto_unmount",
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
"-odirect_io",
|
"-odirect_io",
|
||||||
getenv("TABFS_MOUNT_DIR"),
|
getenv("TABFS_MOUNT_DIR"),
|
||||||
|
|
Loading…
Reference in a new issue