bug 5936: fix creating template

status 5936: closed fixed
This commit is contained in:
edison 2010-08-26 13:55:59 -07:00
parent 16e981928a
commit ba50928c3f
1 changed files with 1 additions and 1 deletions

View File

@ -1489,7 +1489,7 @@ public class LibvirtComputingResource extends ServerResourceBase implements Serv
String tmpltPath = _mountPoint + File.separator + secondaryStorage.getUUIDString() + templateInstallFolder;
File mpfile = new File(tmpltPath);
if (!mpfile.exists()) {
mpfile.mkdir();
mpfile.mkdirs();
}
Script command = new Script(_createTmplPath, _timeout, s_logger);