From: Felix Fietkau Date: Sun, 24 Jun 2012 21:42:44 +0000 (+0200) Subject: add a debug message for showing exit of instances X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5c40cd4ad2774f743b653257f5ca4dff857becdf;p=oweals%2Fprocd.git add a debug message for showing exit of instances --- diff --git a/instance.c b/instance.c index f530ba5..cc839d7 100644 --- a/instance.c +++ b/instance.c @@ -86,6 +86,7 @@ instance_exit(struct uloop_process *p, int ret) struct service_instance *in; in = container_of(p, struct service_instance, proc); + DPRINTF("Instance %s::%s exit with error code %d\n", in->srv->name, in->name, ret); uloop_timeout_cancel(&in->timeout); if (in->restart) instance_start(in);