aboutsummaryrefslogtreecommitdiff
path: root/src/bitcoind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bitcoind.cpp')
-rw-r--r--src/bitcoind.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/bitcoind.cpp b/src/bitcoind.cpp
index 78c8b2ba0e..9b535c2e6b 100644
--- a/src/bitcoind.cpp
+++ b/src/bitcoind.cpp
@@ -174,15 +174,8 @@ int main(int argc, char* argv[])
{
SetupEnvironment();
- bool fRet = false;
-
// Connect bitcoind signal handlers
noui_connect();
- fRet = AppInit(argc, argv);
-
- if (fRet && fDaemon)
- return 0;
-
- return (fRet ? 0 : 1);
+ return (AppInit(argc, argv) ? 0 : 1);
}