|
|
@ -136,17 +136,17 @@ bool AppInit(int argc, char* argv[]) |
|
|
|
if (!AppInitBasicSetup()) |
|
|
|
if (!AppInitBasicSetup()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// InitError will have been called with detailed error, which ends up on console
|
|
|
|
// InitError will have been called with detailed error, which ends up on console
|
|
|
|
exit(1); |
|
|
|
exit(EXIT_FAILURE); |
|
|
|
} |
|
|
|
} |
|
|
|
if (!AppInitParameterInteraction()) |
|
|
|
if (!AppInitParameterInteraction()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// InitError will have been called with detailed error, which ends up on console
|
|
|
|
// InitError will have been called with detailed error, which ends up on console
|
|
|
|
exit(1); |
|
|
|
exit(EXIT_FAILURE); |
|
|
|
} |
|
|
|
} |
|
|
|
if (!AppInitSanityChecks()) |
|
|
|
if (!AppInitSanityChecks()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
// InitError will have been called with detailed error, which ends up on console
|
|
|
|
// InitError will have been called with detailed error, which ends up on console
|
|
|
|
exit(1); |
|
|
|
exit(EXIT_FAILURE); |
|
|
|
} |
|
|
|
} |
|
|
|
if (GetBoolArg("-daemon", false)) |
|
|
|
if (GetBoolArg("-daemon", false)) |
|
|
|
{ |
|
|
|
{ |
|
|
|