diff options
Diffstat (limited to 'src/cmd/9pfuse')
-rw-r--r-- | src/cmd/9pfuse/fuse.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cmd/9pfuse/fuse.c b/src/cmd/9pfuse/fuse.c index 513d38c9..59424707 100644 --- a/src/cmd/9pfuse/fuse.c +++ b/src/cmd/9pfuse/fuse.c @@ -838,8 +838,15 @@ mountfuse(char *mtpt) if(pid == 0){ snprint(buf, sizeof buf, "%d", fd); putenv("MOUNT_FUSEFS_CALL_BY_LIB", ""); + /* + * Different versions of MacFUSE put the + * mount_fusefs binary in different places. + * Try both. + */ execl("/System/Library/Filesystems/fusefs.fs/mount_fusefs", "mount_fusefs", buf, mtpt, nil); + execl("/System/Library/Filesystems/fusefs.fs/Support/mount_fusefs", + "mount_fusefs", buf, mtpt, nil); fprint(2, "exec mount_fusefs: %r\n"); _exit(1); } |