bitcoin-qt cannot be used as command line rpc client

This commit is contained in:
Wladimir J. van der Laan 2011-09-02 18:05:08 +02:00
parent c5aa1b139a
commit b2d1129f27
1 changed files with 2 additions and 0 deletions

View File

@ -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)