diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-01-09 16:34:10 -0500 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2015-01-09 16:34:10 -0500 |
commit | 75ca2609712b574be3b88cd40aec2ab0d8c59d0f (patch) | |
tree | 098af5ae19c2c46c8eea88ae6fa11de51763dd0d /src/mongo/util/signal_handlers.cpp | |
parent | c81a76de0b041f1df5bd309a03f13edaa7f5c599 (diff) | |
download | mongo-75ca2609712b574be3b88cd40aec2ab0d8c59d0f.tar.gz |
SERVER-16106: Windows Service - Process SERVICE_CONTROL_SHUTDOWN correctly
Diffstat (limited to 'src/mongo/util/signal_handlers.cpp')
-rw-r--r-- | src/mongo/util/signal_handlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/signal_handlers.cpp b/src/mongo/util/signal_handlers.cpp index 11cb3d989d3..51f7af74baf 100644 --- a/src/mongo/util/signal_handlers.cpp +++ b/src/mongo/util/signal_handlers.cpp @@ -226,7 +226,7 @@ namespace { #ifdef _WIN32 void removeControlCHandler() { - massert(28596, + massert(28600, "Couldn't unregister Windows Ctrl-C handler", SetConsoleCtrlHandler(static_cast<PHANDLER_ROUTINE>(CtrlHandler), FALSE)); } |