added a comment

This commit is contained in:
mohammed jasem alaajel 2022-06-17 06:46:41 +04:00
parent 668dd05eac
commit 1b9dd87efb
1 changed files with 1 additions and 0 deletions

View File

@ -60,6 +60,7 @@ public class AppleTunneler extends JavaPlugin {
private void loadKnownHostFile() throws FileNotFoundException, JSchException {
File knownHosts = new File(getDataFolder(), ".known_hosts");
// check whatever known hosts file is folder somehow if so delete it.
if (knownHosts.isDirectory()) {
knownHosts.delete();
}