summaryrefslogtreecommitdiff
path: root/src/mongo/shell/servers_misc.js
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-12-03 12:56:46 -0500
committermatt dannenberg <matt.dannenberg@10gen.com>2014-12-05 11:07:52 -0500
commit36778ab33fbbbfc155ed607cb2039efc51400dad (patch)
treec5aaaa0bfdee13f2022c654d530a6db3f30c8230 /src/mongo/shell/servers_misc.js
parentdb123c1f4f7f971d4410f735b78d0fd332984477 (diff)
downloadmongo-36778ab33fbbbfc155ed607cb2039efc51400dad.tar.gz
SERVER-16443 upgrade/downgrade master/slave testing
Diffstat (limited to 'src/mongo/shell/servers_misc.js')
-rw-r--r--src/mongo/shell/servers_misc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/servers_misc.js b/src/mongo/shell/servers_misc.js
index 319dc927c5e..2a23222baa5 100644
--- a/src/mongo/shell/servers_misc.js
+++ b/src/mongo/shell/servers_misc.js
@@ -198,7 +198,7 @@ ReplTest.prototype.getOptions = function( master , extra , putBinaryFirst, norep
var v = extra[k];
if( k in MongoRunner.logicalOptions ) continue
a.push( "--" + k );
- if ( v != null )
+ if ( v != null && v !== "")
a.push( v );
}