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();
|
||||
|
||||
if (files == null) {
|
||||
return;
|
||||
}
|
||||
if (files.length == 0) {
|
||||
if (files == null || files.length == 0) {
|
||||
getLogger().warning("no Identities files found, please put them in " + file.getPath());
|
||||
throw new RuntimeException("no Identities files found");
|
||||
}
|
||||
|
@ -3,6 +3,7 @@
|
||||
# username for ssh
|
||||
username: apple
|
||||
# host eg: domains can be used.
|
||||
# host: idk.example.com
|
||||
host: 192.168.0.100
|
||||
# ssh port
|
||||
port: 22
|
||||
|
Loading…
Reference in New Issue
Block a user