mirror of
https://github.com/troglobit/finit.git
synced 2026-10-09 16:50:59 +07:00
Live debug stopped but not yet collected tasks
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -313,9 +313,12 @@ int svc_stop_completed(void)
|
||||
{
|
||||
svc_t *svc;
|
||||
|
||||
for (svc = svc_iterator(1); svc; svc = svc_iterator(0))
|
||||
if (svc->state == SVC_STOPPING_STATE)
|
||||
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
|
||||
if (svc->state == SVC_STOPPING_STATE) {
|
||||
_e("Waiting to collect %s(%d) ...", svc->cmd, svc->pid);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user