summaryrefslogtreecommitdiff
path: root/src/mongo/shell/bridge.js
diff options
context:
space:
mode:
authorRobert Guo <robert.guo@10gen.com>2017-05-08 12:29:50 -0400
committerRobert Guo <robert.guo@10gen.com>2017-05-23 15:18:12 -0400
commitdf10adbfe55f21e3476be508436345e03b12fddc (patch)
tree32f81bce02fbcf357e846fb8f82793b1ae9629d5 /src/mongo/shell/bridge.js
parent7c53bb196f13bfebbbee0d235b3887a348e303a6 (diff)
downloadmongo-df10adbfe55f21e3476be508436345e03b12fddc.tar.gz
SERVER-27549 Print message on intentional server crash.
Diffstat (limited to 'src/mongo/shell/bridge.js')
-rw-r--r--src/mongo/shell/bridge.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/bridge.js b/src/mongo/shell/bridge.js
index 74e6e674d71..702d823bf97 100644
--- a/src/mongo/shell/bridge.js
+++ b/src/mongo/shell/bridge.js
@@ -81,7 +81,7 @@ function MongoBridge(options) {
this.connectToBridge = function connectToBridge() {
var failedToStart = false;
assert.soon(() => {
- if (!checkProgram(pid)) {
+ if (!checkProgram(pid).alive) {
failedToStart = true;
return true;
}