Skip to content
Snippets Groups Projects
Commit 7143413f authored by felmer's avatar felmer
Browse files

SSDM-3625: Dive into directories only if they are not symbolic links.

SVN: 36538
parent 2af6efc3
No related branches found
No related tags found
No related merge requests found
...@@ -338,7 +338,7 @@ public class HierarchicalStorageUpdater implements IDataStoreLockingMaintenanceT ...@@ -338,7 +338,7 @@ public class HierarchicalStorageUpdater implements IDataStoreLockingMaintenanceT
private void deleteWithSymbolicLinks(File toDelete) private void deleteWithSymbolicLinks(File toDelete)
{ {
if (toDelete.isDirectory()) if (FileUtilities.isSymbolicLink(toDelete) == false && toDelete.isDirectory())
{ {
for (File file : toDelete.listFiles()) for (File file : toDelete.listFiles())
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment