Ignore .lck files during backup

This commit is contained in:
Marc Baloup 2022-12-14 18:25:34 +01:00
parent 126d5df619
commit bc2e34e28d
Signed by: marcbal
GPG Key ID: BBC0FE3ABC30B893

View File

@ -42,6 +42,8 @@ public class CompressWorkdirProcess extends CompressProcess {
return true; return true;
if (new File(getSourceDir(), "logs").equals(file)) if (new File(getSourceDir(), "logs").equals(file))
return true; return true;
if (file.isFile() && file.getName().endsWith(".lck"))
return true;
return false; return false;
} }