Use mountName instead of display name

This commit is contained in:
Armin Schrenk
2020-11-05 13:23:30 +01:00
parent 510ea8a6f6
commit 813c01aaed

View File

@@ -42,7 +42,7 @@ public class DokanyVolume extends AbstractVolume {
@Override
public void mount(CryptoFileSystem fs, String mountFlags) throws InvalidMountPointException, VolumeException {
this.mountPoint = determineMountPoint();
String mountName = vaultSettings.displayName().get();
String mountName = vaultSettings.mountName().get();
try {
this.mount = mountFactory.mount(fs.getPath("/"), mountPoint, vaultSettings.mountName().get(), FS_TYPE_NAME, mountFlags.strip());
} catch (MountFailedException e) {