diff options
author | maximius <none@none> | 2009-09-26 16:52:54 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-09-26 16:52:54 -0700 |
commit | c66005ea06e6eb7f205a54a679e20deb8f762a49 (patch) | |
tree | c89e7d45019b0757c145ce3f7057949d06d87f4e /src/trinitycore/Master.cpp | |
parent | 7396b641ae82adcf5afd2591957ff944b7964203 (diff) |
*Should fix Linux build, thanks Drahy
--HG--
branch : trunk
Diffstat (limited to 'src/trinitycore/Master.cpp')
-rw-r--r-- | src/trinitycore/Master.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trinitycore/Master.cpp b/src/trinitycore/Master.cpp index fee1b9be71c..7e56cb7a636 100644 --- a/src/trinitycore/Master.cpp +++ b/src/trinitycore/Master.cpp @@ -521,9 +521,9 @@ void Master::_OnSignal(int s) break; case SIGTERM: #ifdef _WIN32 - case SIGBREAK: - #endif + case SIGBREAK: if (m_ServiceStatus != 1) + #endif World::StopNow(SHUTDOWN_EXIT_CODE); break; } |