diff options
author | Huang Le <4tarhl@gmail.com> | 2014-05-20 01:22:33 +0800 |
---|---|---|
committer | Huang Le <4tarhl@gmail.com> | 2014-05-20 01:22:33 +0800 |
commit | 0b78ba8ad69d55817f2b62c631a71b5ac32549f1 (patch) | |
tree | 286d2fb8c2885c1c8f501d9f99d62ba63be8ac27 /src | |
parent | aed38cbcb54772a9b05aff0759288f4fefaec70b (diff) |
Remove fDaemon flag checking on return from main(), which is useless and looks really strange.
Diffstat (limited to 'src')
-rw-r--r-- | src/bitcoind.cpp | 9 |
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); } |