summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_utils.cpp
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-11-29 19:06:00 +0000
committerSara Golemon <sara.golemon@mongodb.com>2018-12-06 09:20:37 +0000
commit55ade18c488a08d160a3341799b9ea276f262d08 (patch)
tree43b3cf5009c3aa1d122efa14136a88732131b4e4 /src/mongo/shell/shell_utils.cpp
parentdfa007f46708ade8f66ae64bbcb9fd5744f96602 (diff)
downloadmongo-55ade18c488a08d160a3341799b9ea276f262d08.tar.gz
SERVER-38374 Add redact attribute to IDL based configs/params
Diffstat (limited to 'src/mongo/shell/shell_utils.cpp')
-rw-r--r--src/mongo/shell/shell_utils.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/shell/shell_utils.cpp b/src/mongo/shell/shell_utils.cpp
index 1d644ba474e..e44832d9e35 100644
--- a/src/mongo/shell/shell_utils.cpp
+++ b/src/mongo/shell/shell_utils.cpp
@@ -455,9 +455,8 @@ void ConnectionRegistry::killOperationsOnAllConnections(bool withPrompt) const {
ConnectionRegistry connectionRegistry;
-bool _nokillop = false;
void onConnect(DBClientBase& c) {
- if (_nokillop) {
+ if (shellGlobalParams.nokillop) {
return;
}