summaryrefslogtreecommitdiff
path: root/ACE/ace/Service_Gestalt.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2009-01-04 03:58:19 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2009-01-04 03:58:19 +0000
commit9c3165891bd4b330748911699a5024d02a56d9af (patch)
treedb11b9efcce7264c64293cdbf1eb2c77c2b72b90 /ACE/ace/Service_Gestalt.cpp
parent708f4f042da9990e612c90e1f53ba8439205099b (diff)
downloadATCD-9c3165891bd4b330748911699a5024d02a56d9af.tar.gz
ChangeLogTag:Sun
Diffstat (limited to 'ACE/ace/Service_Gestalt.cpp')
-rw-r--r--ACE/ace/Service_Gestalt.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ACE/ace/Service_Gestalt.cpp b/ACE/ace/Service_Gestalt.cpp
index ad0522b318f..72d4c6d48af 100644
--- a/ACE/ace/Service_Gestalt.cpp
+++ b/ACE/ace/Service_Gestalt.cpp
@@ -1222,6 +1222,8 @@ ACE_Service_Gestalt::process_directives (bool ignore_default_svc_conf_file)
ACE_TString *sptr = 0;
ACE_TString default_svc_conf (ACE_DEFAULT_SVC_CONF);
+ int failed = 0;
+
// Iterate through all the svc.conf files.
for (ACE_SVC_QUEUE_ITERATOR iter (*this->svc_conf_file_queue_);
iter.next (sptr) != 0;
@@ -1233,9 +1235,10 @@ ACE_Service_Gestalt::process_directives (bool ignore_default_svc_conf_file)
int result = this->process_file (sptr->fast_rep ());
if (result < 0)
return result;
+ failed += result;
}
- return 0;
+ return failed;
} /* process_directives () */