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/shell/shell_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/shell/shell_options_init.cpp')
-rw-r--r-- | src/mongo/shell/shell_options_init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shell_options_init.cpp b/src/mongo/shell/shell_options_init.cpp index f1d7f991945..1db3f1c8f02 100644 --- a/src/mongo/shell/shell_options_init.cpp +++ b/src/mongo/shell/shell_options_init.cpp @@ -25,7 +25,7 @@ namespace mongo { } MONGO_STARTUP_OPTIONS_VALIDATE(MongoShellOptions)(InitializerContext* context) { - if (handlePreValidationMongoShellOptions(moe::startupOptionsParsed, context->args())) { + if (!handlePreValidationMongoShellOptions(moe::startupOptionsParsed, context->args())) { ::_exit(EXIT_SUCCESS); } Status ret = moe::startupOptionsParsed.validate(); |