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