summaryrefslogtreecommitdiff
path: root/src/mongo/db/ttl.cpp
diff options
context:
space:
mode:
authorDan Pasette <dan@10gen.com>2013-07-03 16:29:29 -0400
committerDan Pasette <dan@10gen.com>2013-07-03 16:31:14 -0400
commitc11ea25c522ce5ac3573b4a9638dfa069ed30d92 (patch)
tree03b289e2ba3b68d7520daa73e95acfbc2cfde78a /src/mongo/db/ttl.cpp
parent95efa9a5dd492f8abc85e412aaec9163c7a93ad2 (diff)
downloadmongo-c11ea25c522ce5ac3573b4a9638dfa069ed30d92.tar.gz
SERVER-10033: fix typo in disable logic
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r--src/mongo/db/ttl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp
index ce41ceaa3b1..8e2aadc38e7 100644
--- a/src/mongo/db/ttl.cpp
+++ b/src/mongo/db/ttl.cpp
@@ -126,7 +126,7 @@ namespace mongo {
LOG(3) << "TTLMonitor thread awake" << endl;
- if ( ttlMonitorEnabled ) {
+ if ( !ttlMonitorEnabled ) {
LOG(1) << "TTLMonitor is disabled" << endl;
continue;
}