Merge release branch 4.12 to master

* 4.12:
  fix bugs that may cause program crash, change mkdir to mkdirs (#3249)
This commit is contained in:
Daan Hoogland 2019-04-05 11:32:57 +02:00
commit 0237ee7cd5
1 changed files with 1 additions and 1 deletions

View File

@ -730,7 +730,7 @@ public class ConfigurationServerImpl extends ManagerBase implements Configuratio
Boolean devel = Boolean.valueOf(_configDao.getValue("developer"));
if (!keyDir.isDirectory()) {
s_logger.warn("Failed to create " + homeDir + "/.ssh for storing the SSH keypars");
keyDir.mkdir();
keyDir.mkdirs();
}
String pubKey = _configDao.getValue("ssh.publickey");
String prvKey = _configDao.getValue("ssh.privatekey");