aboutsummaryrefslogtreecommitdiff
path: root/src/server/worldserver/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/worldserver/Main.cpp')
-rw-r--r--src/server/worldserver/Main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/worldserver/Main.cpp b/src/server/worldserver/Main.cpp
index 4d9a7037dc0..e39ccb3c98f 100644
--- a/src/server/worldserver/Main.cpp
+++ b/src/server/worldserver/Main.cpp
@@ -111,11 +111,11 @@ extern int main(int argc, char** argv)
#ifdef _WIN32
if (configService.compare("install") == 0)
- return WinServiceInstall() == true ? 0 : 1;
+ return WinServiceInstall() ? 0 : 1;
else if (configService.compare("uninstall") == 0)
- return WinServiceUninstall() == true ? 0 : 1;
+ return WinServiceUninstall() ? 0 : 1;
else if (configService.compare("run") == 0)
- WinServiceRun();
+ return WinServiceRun() ? 0 : 0;
#endif
std::string configError;