mirror of
https://github.com/Maschell/fuse-wiiu.git
synced 2024-11-25 15:56:53 +01:00
Fix mounting in some cases
This commit is contained in:
parent
a18b059004
commit
5c8ea1f9d5
@ -135,7 +135,7 @@ public class Main {
|
|||||||
if (mountparent != null && !mountparent.exists()) {
|
if (mountparent != null && !mountparent.exists()) {
|
||||||
System.err.println("Mounting to " + mount + " is not possible." + mountparent + " does not exist");
|
System.err.println("Mounting to " + mount + " is not possible." + mountparent + " does not exist");
|
||||||
return;
|
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");
|
System.err.println("Mounting to " + mount + " is not possible. It's already mounted or in use");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user