[core] Remove deleteOnClose which causes lock fail (#624)
This commit is contained in:
parent
85a4d4eea1
commit
61bee4743a
|
|
@ -182,7 +182,6 @@ public class ConfigManager {
|
|||
public boolean tryLock() {
|
||||
var openOptions = new HashSet<OpenOption>();
|
||||
openOptions.add(StandardOpenOption.CREATE);
|
||||
openOptions.add(StandardOpenOption.DELETE_ON_CLOSE);
|
||||
openOptions.add(StandardOpenOption.WRITE);
|
||||
var p = PosixFilePermissions.fromString("rw-------");
|
||||
var permissions = PosixFilePermissions.asFileAttribute(p);
|
||||
|
|
|
|||
Loading…
Reference in New Issue