Skip to content

Commit

Permalink
fixes #3344
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Feb 22, 2024
1 parent 8412871 commit 1ab73be
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/main/java/org/cryptomator/common/mount/Mounter.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,7 @@ private Runnable prepareMountPoint() throws IOException {
Files.createDirectories(defaultMountPointBase);
builder.setMountpoint(defaultMountPointBase);
} else if (canMountToDir) {
var dirName = vaultSettings.mountName.get();
//required for https://github.com/cryptomator/cryptomator/issues/3272
if(service.getClass().getCanonicalName().equals("org.cryptomator.frontend.fuse.mount.FuseTMountProvider")) {
dirName = vaultSettings.id;
}
var mountPoint = defaultMountPointBase.resolve(dirName);
var mountPoint = defaultMountPointBase.resolve(vaultSettings.id);
Files.createDirectories(mountPoint);
cleanup = () -> removeCreatedDirectory(mountPoint);
builder.setMountpoint(mountPoint);
Expand Down

0 comments on commit 1ab73be

Please sign in to comment.