diff options
author | Joachim Nilsson <troglobit@gmail.com> | 2017-10-11 21:56:49 +0200 |
---|---|---|
committer | Joachim Nilsson <troglobit@gmail.com> | 2017-10-11 21:56:49 +0200 |
commit | 586f0a7799a7a7627026b67fc4537bdd95d70f0a (patch) | |
tree | 1b5ef57b93d9fba8b4c51629d8798b85fdbee600 | |
parent | 474bd2f3618ff0f315f98f1983b46f99b4a1e926 (diff) | |
download | finit-586f0a7799a7a7627026b67fc4537bdd95d70f0a.zip finit-586f0a7799a7a7627026b67fc4537bdd95d70f0a.tar.gz finit-586f0a7799a7a7627026b67fc4537bdd95d70f0a.tar.bz2 |
Live debug stopped but not yet collected tasks
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
-rw-r--r-- | src/svc.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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; } |