mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-7266: Deleting account is not cleaning the snapshot entries
in secondary storage.
This commit is contained in:
parent
68b95aec0f
commit
902a9c5b70
|
|
@ -1525,7 +1525,7 @@ public class NfsSecondaryStorageResource extends ServerResourceBase implements S
|
|||
private String deleteLocalFile(String fullPath) {
|
||||
Script command = new Script("/bin/bash", s_logger);
|
||||
command.add("-c");
|
||||
command.add("rm -f " + fullPath);
|
||||
command.add("rm -rf " + fullPath);
|
||||
String result = command.execute();
|
||||
if (result != null) {
|
||||
String errMsg = "Failed to delete file " + fullPath + ", err=" + result;
|
||||
|
|
|
|||
Loading…
Reference in New Issue