diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-10-20 13:17:47 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-10-20 13:17:47 -0230 |
commit | b6e077a730ca2967d3e9d9c32068ba2b5df9d26d (patch) | |
tree | e5286221fc505828f3e8ac247f04ec33b7be3b04 /cpp/src/IceGrid/IceGridRegistry.cpp | |
parent | Changes to how to access class members in python (diff) | |
download | ice-b6e077a730ca2967d3e9d9c32068ba2b5df9d26d.tar.bz2 ice-b6e077a730ca2967d3e9d9c32068ba2b5df9d26d.tar.xz ice-b6e077a730ca2967d3e9d9c32068ba2b5df9d26d.zip |
Bug 4311 - change Ice::Service::start signature
Diffstat (limited to 'cpp/src/IceGrid/IceGridRegistry.cpp')
-rw-r--r-- | cpp/src/IceGrid/IceGridRegistry.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/IceGridRegistry.cpp b/cpp/src/IceGrid/IceGridRegistry.cpp index dee4855e44f..5a961147a0f 100644 --- a/cpp/src/IceGrid/IceGridRegistry.cpp +++ b/cpp/src/IceGrid/IceGridRegistry.cpp @@ -31,7 +31,7 @@ public: protected: - virtual bool start(int, char*[]); + virtual bool start(int, char*[], int&); virtual void waitForShutdown(); virtual bool stop(); virtual CommunicatorPtr initializeCommunicator(int&, char*[], const InitializationData&); @@ -62,7 +62,7 @@ RegistryService::shutdown() } bool -RegistryService::start(int argc, char* argv[]) +RegistryService::start(int argc, char* argv[], int& status) { bool nowarn; bool readonly; @@ -88,11 +88,13 @@ RegistryService::start(int argc, char* argv[]) if(opts.isSet("help")) { usage(argv[0]); + status = EXIT_SUCCESS; return false; } if(opts.isSet("version")) { print(ICE_STRING_VERSION); + status = EXIT_SUCCESS; return false; } nowarn = opts.isSet("nowarn"); |