mirror of https://github.com/apache/cloudstack.git
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:
commit
0237ee7cd5
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue