Creates lock file parent dirs if necessary

cusax-fix
Emil Ivov 18 years ago
parent 862ffdc93c
commit 13323da81c

@ -149,6 +149,7 @@ public int tryLock(String[] args)
// right the bind address in the file
try
{
lockFile.getParentFile().mkdirs();
lockFile.createNewFile();
}
catch (IOException e)

Loading…
Cancel
Save