summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2010-06-16 17:00:20 -0400
committerDwight <dwight@10gen.com>2010-06-16 17:00:20 -0400
commitaa908fe994e8b155765b219faf99ed6c09a1e5ba (patch)
tree59e74b807c0154dee275e3ce8d5fb9a38b66e5b1
parentc5a241e6d99cc0fe98085b937c28e593b8c238d5 (diff)
downloadmongo-aa908fe994e8b155765b219faf99ed6c09a1e5ba.tar.gz
compile
-rw-r--r--shell/shell_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/shell_utils.cpp b/shell/shell_utils.cpp
index d2108684132..3749296bba5 100644
--- a/shell/shell_utils.cpp
+++ b/shell/shell_utils.cpp
@@ -233,7 +233,7 @@ namespace mongo {
void writeMongoProgramOutputLine( int port, int pid, const char *line ) {
mongo::mutex::scoped_lock lk( mongoProgramOutputMutex );
- if( mongo::goingAway ) throw std::exception("program is terminating");
+ if( mongo::goingAway ) throw "program is terminating";
stringstream buf;
if ( port > 0 )
buf << "m" << port << "| " << line;