bitcoin-qt cannot be used as command line rpc client
This commit is contained in:
parent
c5aa1b139a
commit
b2d1129f27
@ -251,6 +251,7 @@ bool AppInit2(int argc, char* argv[])
|
||||
fNoListen = GetBoolArg("-nolisten") || fTOR;
|
||||
fLogTimestamps = GetBoolArg("-logtimestamps");
|
||||
|
||||
#ifndef QT_GUI
|
||||
for (int i = 1; i < argc; i++)
|
||||
if (!IsSwitchChar(argv[i][0]))
|
||||
fCommandLine = true;
|
||||
@ -260,6 +261,7 @@ bool AppInit2(int argc, char* argv[])
|
||||
int ret = CommandLineRPC(argc, argv);
|
||||
exit(ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef __WXMSW__
|
||||
if (fDaemon)
|
||||
|
Loading…
Reference in New Issue
Block a user