diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2016-01-22 09:42:37 +0100 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2016-01-22 09:42:37 +0100 |
commit | b093e8e813e47d8fe15c15d1dfb099214f69aca7 (patch) | |
tree | c552a82adeffb6f56755c7d1df2f2e64eb98a6cb /src/main.cpp | |
parent | Merge pull request #2895 from LogicParrot/readme (diff) | |
parent | Fix running as a service. (diff) | |
download | cuberite-b093e8e813e47d8fe15c15d1dfb099214f69aca7.tar cuberite-b093e8e813e47d8fe15c15d1dfb099214f69aca7.tar.gz cuberite-b093e8e813e47d8fe15c15d1dfb099214f69aca7.tar.bz2 cuberite-b093e8e813e47d8fe15c15d1dfb099214f69aca7.tar.lz cuberite-b093e8e813e47d8fe15c15d1dfb099214f69aca7.tar.xz cuberite-b093e8e813e47d8fe15c15d1dfb099214f69aca7.tar.zst cuberite-b093e8e813e47d8fe15c15d1dfb099214f69aca7.zip |
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 06f979097..1b77e2480 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -495,6 +495,9 @@ int main(int argc, char ** argv) } #endif + // Make sure m_RunAsService is set correctly before checking it's value + ParseArguments(argc, argv); + // Attempt to run as a service if (cRoot::m_RunAsService) { |