summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2011-10-11 19:37:58 -0300
committerGreg Studer <greg@10gen.com>2011-10-11 19:37:58 -0300
commit1ea7e499bc0c2d8e8c56c6e2a159f92804f1f649 (patch)
treeb45e85798ad7ead93766407ed82312a9fa8af3d7 /shell
parentb167d01deb21c672822bde0f4d8d317aeb5d980a (diff)
downloadmongo-1ea7e499bc0c2d8e8c56c6e2a159f92804f1f649.tar.gz
buildbot check for valid rset before stopping
Diffstat (limited to 'shell')
-rwxr-xr-xshell/servers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/servers.js b/shell/servers.js
index d06eea1ab4e..5ba97c30d7f 100755
--- a/shell/servers.js
+++ b/shell/servers.js
@@ -813,7 +813,7 @@ ShardingTest.prototype.stop = function(){
}
if ( this._rs ){
for ( var i=0; i<this._rs.length; i++ ){
- this._rs[i].test.stopSet( 15 );
+ if( this._rs[i] ) this._rs[i].test.stopSet( 15 );
}
}
if ( this._alldbpaths ){