fixed a mistake
This commit is contained in:
parent
8d721dea20
commit
668dd05eac
@ -40,10 +40,7 @@ public class AppleTunneler extends JavaPlugin {
|
|||||||
}
|
}
|
||||||
File[] files = file.listFiles();
|
File[] files = file.listFiles();
|
||||||
|
|
||||||
if (files == null) {
|
if (files == null || files.length == 0) {
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (files.length == 0) {
|
|
||||||
getLogger().warning("no Identities files found, please put them in " + file.getPath());
|
getLogger().warning("no Identities files found, please put them in " + file.getPath());
|
||||||
throw new RuntimeException("no Identities files found");
|
throw new RuntimeException("no Identities files found");
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# username for ssh
|
# username for ssh
|
||||||
username: apple
|
username: apple
|
||||||
# host eg: domains can be used.
|
# host eg: domains can be used.
|
||||||
|
# host: idk.example.com
|
||||||
host: 192.168.0.100
|
host: 192.168.0.100
|
||||||
# ssh port
|
# ssh port
|
||||||
port: 22
|
port: 22
|
||||||
|
Loading…
Reference in New Issue
Block a user