projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3135309
)
add a debug message for showing exit of instances
author
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Jun 2012 21:42:44 +0000
(23:42 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Sun, 24 Jun 2012 21:42:44 +0000
(23:42 +0200)
instance.c
patch
|
blob
|
history
diff --git
a/instance.c
b/instance.c
index f530ba52e13282dcc36d5b09c9c753626e548b21..cc839d7f3258806cc73a2db7d4005d816f077671 100644
(file)
--- 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);