mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Load theConfig before initializing Application.
This commit is contained in:
@@ -47,14 +47,17 @@ void printHelp()
|
||||
int parseCommandline(int argc, char* argv[])
|
||||
{
|
||||
int ret=0;
|
||||
|
||||
theConfig.load();
|
||||
|
||||
if(argc>1)
|
||||
{
|
||||
theConfig.load();
|
||||
ret=commandLineRPC(argc, argv);
|
||||
if(ret)
|
||||
printHelp();
|
||||
}
|
||||
else startApp();
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user