From 5c8ea1f9d5e3c9957aee64f5fb460bdb23a5fa90 Mon Sep 17 00:00:00 2001 From: Maschell Date: Fri, 10 Jul 2020 17:54:20 +0200 Subject: [PATCH] Fix mounting in some cases --- src/main/java/de/mas/wiiu/jnus/fuse_wiiu/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/Main.java b/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/Main.java index 1f3b543..d646184 100644 --- a/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/Main.java +++ b/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/Main.java @@ -135,7 +135,7 @@ public class Main { if (mountparent != null && !mountparent.exists()) { System.err.println("Mounting to " + mount + " is not possible." + mountparent + " does not exist"); return; - } else if (mount.exists()) { + } else if (mount.exists() && System.getProperty("os.name").contains("Windows")) { System.err.println("Mounting to " + mount + " is not possible. It's already mounted or in use"); return; }