summaryrefslogtreecommitdiff
path: root/src/mongo/db/mongod_options_init.cpp
diff options
context:
space:
mode:
authorShaun Verch <shaun.verch@10gen.com>2013-10-24 11:24:19 -0400
committerShaun Verch <shaun.verch@10gen.com>2013-10-24 11:25:24 -0400
commitcfff07276553e9a4131a1699a9f58c3e6cb0b3b3 (patch)
tree8338cdc328e8dc8bbd9894d4055c38599c2f42d6 /src/mongo/db/mongod_options_init.cpp
parente8fe7befcf2f698f988e0ac80a5b48ac51e6f922 (diff)
downloadmongo-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.cpp2
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();