Skip to content

Commit 9d97e83

Browse files
committed
Merge pull request #4197
0b78ba8 Remove fDaemon flag checking on return from main(), which is useless and looks really strange. (Huang Le)
2 parents ec8a075 + 0b78ba8 commit 9d97e83

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/bitcoind.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,8 @@ int main(int argc, char* argv[])
174174
{
175175
SetupEnvironment();
176176

177-
bool fRet = false;
178-
179177
// Connect bitcoind signal handlers
180178
noui_connect();
181179

182-
fRet = AppInit(argc, argv);
183-
184-
if (fRet && fDaemon)
185-
return 0;
186-
187-
return (fRet ? 0 : 1);
180+
return (AppInit(argc, argv) ? 0 : 1);
188181
}

0 commit comments

Comments
 (0)