summaryrefslogtreecommitdiff
path: root/cpp/src/IcePatch/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IcePatch/Server.cpp')
-rw-r--r--cpp/src/IcePatch/Server.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IcePatch/Server.cpp b/cpp/src/IcePatch/Server.cpp
index 45d76e2e809..15b33fdb530 100644
--- a/cpp/src/IcePatch/Server.cpp
+++ b/cpp/src/IcePatch/Server.cpp
@@ -129,24 +129,24 @@ IcePatch::IcePatchService::start(int argc, char* argv[])
{
cerr << e.reason << endl;
usage(argv[0]);
- return EXIT_FAILURE;
+ return false;
}
if(opts.isSet("h") || opts.isSet("help"))
{
usage(argv[0]);
- return EXIT_SUCCESS;
+ return false;
}
if(opts.isSet("v") || opts.isSet("version"))
{
cout << ICE_STRING_VERSION << endl;
- return EXIT_SUCCESS;
+ return false;
}
if(!args.empty())
{
usage(argv[0]);
- return EXIT_FAILURE;
+ return false;
}
PropertiesPtr properties = communicator()->getProperties();