renaming srv.lock to cli.lock

This commit is contained in:
Clebert Suconic 2015-08-31 20:17:43 -04:00
parent d31b0ea352
commit 8f04442e84
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ public abstract class Configurable extends ActionAbstract {
protected static void lock(File journalPlace) throws Exception {
journalPlace.mkdirs();
File fileLock = new File(journalPlace, "srv.lock");
File fileLock = new File(journalPlace, "cli.lock");
RandomAccessFile file = new RandomAccessFile(fileLock, "rw");
serverLockLock = file.getChannel().tryLock();
if (serverLockLock == null) {