diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-04-08 21:40:28 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-04-08 21:40:28 -0400 |
commit | dff285ac2d20b1783a38ba25c6a67435897f77f2 (patch) | |
tree | 68d6d2e6e8f86030a3b450ef07a6b1a8f7017b36 | |
parent | dfa0c41aa11ae1d97576e1b72180f0a398d4894a (diff) | |
download | mongo-r1.5.0.tar.gz |
clean up shutdownr1.5.0
-rw-r--r-- | util/message.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/util/message.cpp b/util/message.cpp index 14a9c24b4a9..fdb5f38c790 100644 --- a/util/message.cpp +++ b/util/message.cpp @@ -146,8 +146,10 @@ namespace mongo { if (ret == 0){ log() << "select() returned 0" << endl; continue; - }else if (ret < 0){ - log() << "select() failure: ret=" << ret << " " << OUTPUT_ERRNO << endl; + } + else if (ret < 0){ + if ( ! inShutdown() ) + log() << "select() failure: ret=" << ret << " " << OUTPUT_ERRNO << endl; return; } |