Remove HOOK_SVC_LOST, recommend using accounting instead

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2018-09-30 11:28:27 +02:00
1 parent cd91e2c66c
commit 682e80fed5
8 files changed
+1 -87

No files matched your search

-2
View File
@@ -922,8 +922,6 @@ void service_monitor(pid_t lost)
if (tty_respawn(lost))
return;
plugin_run_hook(HOOK_SVC_LOST, (void *)(uintptr_t)lost);
svc = svc_find_by_pid(lost);
if (!svc) {
_d("collected unknown PID %d", lost);