summaryrefslogtreecommitdiff
path: root/ace/Service_Config.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 04:18:53 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-17 04:18:53 +0000
commit4baf38f7f8d2bbe6747c9b2f573eafa19daa1ef4 (patch)
tree94fb6dc56ab1913fe36274cfbe57ecb00e5e6117 /ace/Service_Config.i
parenta4cd416c33f377d5ba9d2e5d3b4e2fd255156a13 (diff)
downloadATCD-4baf38f7f8d2bbe6747c9b2f573eafa19daa1ef4.tar.gz
.
Diffstat (limited to 'ace/Service_Config.i')
-rw-r--r--ace/Service_Config.i6
1 files changed, 4 insertions, 2 deletions
diff --git a/ace/Service_Config.i b/ace/Service_Config.i
index 309bce5f127..a5cc47b8b85 100644
--- a/ace/Service_Config.i
+++ b/ace/Service_Config.i
@@ -12,8 +12,10 @@ ACE_Service_Config::open (int argc,
LPCTSTR logger_key)
{
ACE_TRACE ("ACE_Service_Config::open");
- ACE_Service_Config::parse_args (argc, argv);
- return ACE_Service_Config::open (argv[0], logger_key);
+ if (ACE_Service_Config::parse_args (argc, argv) == -1)
+ return -1;
+ else
+ return ACE_Service_Config::open (argv[0], logger_key);
}
// Compare two service descriptors for equality.