added a comment
This commit is contained in:
parent
668dd05eac
commit
1b9dd87efb
@ -60,6 +60,7 @@ public class AppleTunneler extends JavaPlugin {
|
|||||||
|
|
||||||
private void loadKnownHostFile() throws FileNotFoundException, JSchException {
|
private void loadKnownHostFile() throws FileNotFoundException, JSchException {
|
||||||
File knownHosts = new File(getDataFolder(), ".known_hosts");
|
File knownHosts = new File(getDataFolder(), ".known_hosts");
|
||||||
|
// check whatever known hosts file is folder somehow if so delete it.
|
||||||
if (knownHosts.isDirectory()) {
|
if (knownHosts.isDirectory()) {
|
||||||
knownHosts.delete();
|
knownHosts.delete();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user