diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-06-24 23:42:44 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-06-24 23:42:44 +0200 |
commit | 5c40cd4ad2774f743b653257f5ca4dff857becdf (patch) | |
tree | 148208d1cd6c87e0477d8efe46b939fe1755a835 | |
parent | 31353099a886fc4fac4293989330847ea51e44d0 (diff) | |
download | unitd-5c40cd4ad2774f743b653257f5ca4dff857becdf.tar unitd-5c40cd4ad2774f743b653257f5ca4dff857becdf.zip |
add a debug message for showing exit of instances
-rw-r--r-- | instance.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |