mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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;
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user