diff options
author | Anthony Birkett <anthony@a-birkett.com> | 2016-01-21 16:22:05 +0100 |
---|---|---|
committer | Anthony Birkett <anthony@a-birkett.com> | 2016-01-21 17:38:13 +0100 |
commit | d75168ca03cec27c2b9f67732a1035b5c84fcd4f (patch) | |
tree | c552a82adeffb6f56755c7d1df2f2e64eb98a6cb /src/main.cpp | |
parent | Merge pull request #2895 from LogicParrot/readme (diff) | |
download | cuberite-d75168ca03cec27c2b9f67732a1035b5c84fcd4f.tar cuberite-d75168ca03cec27c2b9f67732a1035b5c84fcd4f.tar.gz cuberite-d75168ca03cec27c2b9f67732a1035b5c84fcd4f.tar.bz2 cuberite-d75168ca03cec27c2b9f67732a1035b5c84fcd4f.tar.lz cuberite-d75168ca03cec27c2b9f67732a1035b5c84fcd4f.tar.xz cuberite-d75168ca03cec27c2b9f67732a1035b5c84fcd4f.tar.zst cuberite-d75168ca03cec27c2b9f67732a1035b5c84fcd4f.zip |
Diffstat (limited to '')
-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) { |