diff options
author | Andy Schwerin <schwerin@10gen.com> | 2012-05-17 16:54:21 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@10gen.com> | 2012-05-21 18:07:18 -0400 |
commit | 1647933b0f953badcdecd6b3941db7aeca2e7aba (patch) | |
tree | c7259d2160b7c3027a474a1191a670eaff37249f /src/mongo/shell/shell_utils.cpp | |
parent | 51b19f8296d62c2f518bd9edae2a5056d51acd8c (diff) | |
download | mongo-1647933b0f953badcdecd6b3941db7aeca2e7aba.tar.gz |
Replace ::exit with ::_exit.
Diffstat (limited to 'src/mongo/shell/shell_utils.cpp')
-rw-r--r-- | src/mongo/shell/shell_utils.cpp | 2 |
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; } |