Parcourir la source

removing white spaces before and after additional dokany mount options

infeo il y a 6 ans
Parent
commit
67c29603da

+ 1 - 1
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);