summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_options_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/shell_options_init.cpp')
-rw-r--r--src/mongo/shell/shell_options_init.cpp2
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();