aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2011-09-02 18:05:08 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2011-09-02 18:05:08 +0200
commitb2d1129f27a499fa00ab8f5b8f0e9f926ae66362 (patch)
tree75df4da871aadcf156edb6d8bde2d8b0490ccf56
parentc5aa1b139a983613b1d5acc8f57804a9c66d4ff1 (diff)
bitcoin-qt cannot be used as command line rpc client
-rw-r--r--src/init.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 7d2a14fb97..d2045fd84b 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -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)