mirror of https://github.com/apache/cloudstack.git
CID-1250770 pass through mkdirs() return value
This commit is contained in:
parent
d2f28ea3ae
commit
abff49d5b3
|
|
@ -303,7 +303,7 @@ public class ManagedNfsStorageAdaptor implements StorageAdaptor {
|
|||
String mountPoint = _mountPoint + File.separator + uuid;
|
||||
File f = new File(mountPoint + File.separator + path);
|
||||
if (!f.exists()) {
|
||||
f.mkdirs();
|
||||
return f.mkdirs();
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue