1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-11-23 08:32:39 +00:00

Now skipping postponed folders that cannot be deleted.

This commit is contained in:
Jesper Gravgaard 2020-11-02 19:03:05 +01:00
parent 5a99c43efb
commit 35d03db4c5

View File

@ -84,8 +84,7 @@ public class TmpDirManager {
Path todoPath = new File(todoPathAbs).toPath(); Path todoPath = new File(todoPathAbs).toPath();
boolean success = deleteTmpDir(todoPath); boolean success = deleteTmpDir(todoPath);
if(!success) { if(!success) {
failedDirs.add(todoPath); System.err.println("Cannot delete postponed temporary folder - skipping " + todoPathAbs);
//System.out.println("Cannot delete postponed temporary folder - postponing again " + todoPathAbs);
} else { } else {
//System.out.println("Successfully deleted postponed temporary folder " + todoPathAbs); //System.out.println("Successfully deleted postponed temporary folder " + todoPathAbs);
} }