CID-1250770 pass through mkdirs() return value

This commit is contained in:
Daan Hoogland 2014-11-11 10:32:46 +01:00
parent d2f28ea3ae
commit abff49d5b3

View File

@ -303,7 +303,7 @@ public class ManagedNfsStorageAdaptor implements StorageAdaptor {
String mountPoint = _mountPoint + File.separator + uuid; String mountPoint = _mountPoint + File.separator + uuid;
File f = new File(mountPoint + File.separator + path); File f = new File(mountPoint + File.separator + path);
if (!f.exists()) { if (!f.exists()) {
f.mkdirs(); return f.mkdirs();
} }
return true; return true;
} }