mirror of
https://github.com/troglobit/finit.git
synced 2026-10-01 05:22:48 +07:00
Minor, comment fixes and additions
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -449,6 +449,7 @@ int main(int argc, char* argv[])
|
||||
/* Clean up bootstrap-only tasks/services that never started */
|
||||
svc_prune_bootstrap();
|
||||
|
||||
/* All services/tasks/inetd/etc. in configure runlevel have started */
|
||||
_d("Running svc up hooks ...");
|
||||
plugin_run_hooks(HOOK_SVC_UP);
|
||||
|
||||
|
||||
+1
-1
@@ -899,7 +899,7 @@ restart:
|
||||
if (!enabled) {
|
||||
svc_set_state(svc, SVC_HALTED_STATE);
|
||||
} 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))
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user