From 67c29603da250cd6946ee6f47306fdef62a6790a Mon Sep 17 00:00:00 2001 From: infeo Date: Thu, 4 Jul 2019 14:04:19 +0200 Subject: [PATCH] removing white spaces before and after additional dokany mount options --- .../ui/src/main/java/org/cryptomator/ui/model/DokanyVolume.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/ui/src/main/java/org/cryptomator/ui/model/DokanyVolume.java b/main/ui/src/main/java/org/cryptomator/ui/model/DokanyVolume.java index 84d1a300b..e24e49c08 100644 --- a/main/ui/src/main/java/org/cryptomator/ui/model/DokanyVolume.java +++ b/main/ui/src/main/java/org/cryptomator/ui/model/DokanyVolume.java @@ -48,7 +48,7 @@ public class DokanyVolume implements Volume { Path mountPath = getMountPoint(); String mountName = vaultSettings.mountName().get(); try { - this.mount = mountFactory.mount(fs.getPath("/"), mountPath, mountName, FS_TYPE_NAME, mountFlags); + this.mount = mountFactory.mount(fs.getPath("/"), mountPath, mountName, FS_TYPE_NAME, mountFlags.strip()); } catch (MountFailedException e) { if (vaultSettings.getIndividualMountPath().isPresent()) { LOG.warn("Failed to mount vault into {}. Is this directory currently accessed by another process (e.g. Windows Explorer)?", mountPath);