mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-26 06:46:10 +00:00
use java user.dir as the default "path.home" location
This commit is contained in:
parent
4709f00790
commit
98e93322ae
@ -60,7 +60,7 @@ public class Environment {
|
||||
if (settings.get("path.home") != null) {
|
||||
homeFile = new File(cleanPath(settings.get("path.home")));
|
||||
} else {
|
||||
homeFile = new File(".");
|
||||
homeFile = new File(System.getProperty("user.dir"));
|
||||
}
|
||||
homeFile.mkdirs();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user