diff options
author | Shaun Verch <shaun.verch@10gen.com> | 2013-10-24 11:24:19 -0400 |
---|---|---|
committer | Shaun Verch <shaun.verch@10gen.com> | 2013-10-24 11:25:24 -0400 |
commit | cfff07276553e9a4131a1699a9f58c3e6cb0b3b3 (patch) | |
tree | 8338cdc328e8dc8bbd9894d4055c38599c2f42d6 /src/mongo/db/mongod_options_init.cpp | |
parent | e8fe7befcf2f698f988e0ac80a5b48ac51e6f922 (diff) | |
download | mongo-cfff07276553e9a4131a1699a9f58c3e6cb0b3b3.tar.gz |
SERVER-11144 Swap meaning of prevalidation return value and add comment
Diffstat (limited to 'src/mongo/db/mongod_options_init.cpp')
-rw-r--r-- | src/mongo/db/mongod_options_init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/mongod_options_init.cpp b/src/mongo/db/mongod_options_init.cpp index 61b242046a4..1ecd743c83b 100644 --- a/src/mongo/db/mongod_options_init.cpp +++ b/src/mongo/db/mongod_options_init.cpp @@ -37,7 +37,7 @@ namespace mongo { } MONGO_STARTUP_OPTIONS_VALIDATE(MongodOptions)(InitializerContext* context) { - if (handlePreValidationMongodOptions(moe::startupOptionsParsed, context->args())) { + if (!handlePreValidationMongodOptions(moe::startupOptionsParsed, context->args())) { ::_exit(EXIT_SUCCESS); } Status ret = moe::startupOptionsParsed.validate(); |