diff options
author | Antonin Kral <a.kral@bobek.cz> | 2010-12-10 13:05:34 +0100 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2010-12-10 13:05:34 +0100 |
commit | ed4a804c027562e1bf6a0f45dae7326198c29f8e (patch) | |
tree | 9d04736132d5421497a80619e30d4c2e03e76728 /util/ntservice.cpp | |
parent | e598e7ada36302f35a0da8ae0c63c34b51b6a720 (diff) | |
download | mongodb-ed4a804c027562e1bf6a0f45dae7326198c29f8e.tar.gz |
Imported Upstream version 1.6.5
Diffstat (limited to 'util/ntservice.cpp')
-rw-r--r-- | util/ntservice.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/util/ntservice.cpp b/util/ntservice.cpp index fe4ae44..22f83a5 100644 --- a/util/ntservice.cpp +++ b/util/ntservice.cpp @@ -56,8 +56,13 @@ namespace mongo { commandLine << arg << " \"" << dbpath << "\" "; i++; continue; + } else if ( arg == "--logpath" && i + 1 < argc ) { + commandLine << arg << " \"" << argv[i+1] << "\" "; + i++; + continue; } else if ( arg.length() > 9 && arg.substr(0, 9) == "--service" ) { // Strip off --service(Name|User|Password) arguments + i++; continue; } commandLine << arg << " "; |