mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-18 10:41:26 +00:00
refactored mount method
This commit is contained in:
@@ -147,12 +147,7 @@ public class Mounter {
|
||||
if (targetIsProblematicFuse && firstUsedProblematicFuseMountService.get() == null) {
|
||||
firstUsedProblematicFuseMountService.set(selMntServ);
|
||||
}
|
||||
|
||||
var fuseRestartRequired = firstUsedProblematicFuseMountService.get() != null //
|
||||
&& isProblematicFuseService(selMntServ) //
|
||||
&& !firstUsedProblematicFuseMountService.get().equals(selMntServ);
|
||||
|
||||
if (fuseRestartRequired) {
|
||||
else if (targetIsProblematicFuse && !firstUsedProblematicFuseMountService.get().equals(selMntServ)) {
|
||||
throw new FuseRestartRequiredException("fuseRestartRequired");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user