summaryrefslogtreecommitdiff
path: root/src/mongo/shell/shell_utils.cpp
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2012-05-17 16:54:21 -0400
committerAndy Schwerin <schwerin@10gen.com>2012-05-21 18:07:18 -0400
commit1647933b0f953badcdecd6b3941db7aeca2e7aba (patch)
treec7259d2160b7c3027a474a1191a670eaff37249f /src/mongo/shell/shell_utils.cpp
parent51b19f8296d62c2f518bd9edae2a5056d51acd8c (diff)
downloadmongo-1647933b0f953badcdecd6b3941db7aeca2e7aba.tar.gz
Replace ::exit with ::_exit.
Diffstat (limited to 'src/mongo/shell/shell_utils.cpp')
-rw-r--r--src/mongo/shell/shell_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shell_utils.cpp b/src/mongo/shell/shell_utils.cpp
index 1e332703b11..2cd1f3d7429 100644
--- a/src/mongo/shell/shell_utils.cpp
+++ b/src/mongo/shell/shell_utils.cpp
@@ -71,7 +71,7 @@ namespace mongo {
// converts to the integer value 0.
goingAwaySoon();
int exit_code = int( args.firstElement().number() );
- ::exit(exit_code);
+ ::_exit(exit_code);
return undefinedReturn;
}