Minor, comment fixes and additions

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-11-28 08:07:06 +01:00
1 parent 9f50b033d9
commit 40267a5f0f
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -449,6 +449,7 @@ int main(int argc, char* argv[])
/* Clean up bootstrap-only tasks/services that never started */ /* Clean up bootstrap-only tasks/services that never started */
svc_prune_bootstrap(); svc_prune_bootstrap();
/* All services/tasks/inetd/etc. in configure runlevel have started */
_d("Running svc up hooks ..."); _d("Running svc up hooks ...");
plugin_run_hooks(HOOK_SVC_UP); plugin_run_hooks(HOOK_SVC_UP);
+1 -1
View File
@@ -899,7 +899,7 @@ restart:
if (!enabled) { if (!enabled) {
svc_set_state(svc, SVC_HALTED_STATE); svc_set_state(svc, SVC_HALTED_STATE);
} else if (cond_get_agg(svc->cond) == COND_ON) { } else if (cond_get_agg(svc->cond) == COND_ON) {
/* wait until all processes has been stopped before continuing... */ /* wait until all processes have been stopped before continuing... */
if (sm_is_in_teardown(&sm)) if (sm_is_in_teardown(&sm))
break; break;