mirror of
https://github.com/troglobit/finit.git
synced 2026-10-03 14:33:12 +07:00
cond_update(): Minor, log service description as well as cmd
If you have lots of service/run/tasks using the same cmd it's impossible to tell them apart in debug mode. This patch logs description as well as cmd to improve on this situation a bit. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -95,7 +95,7 @@ static void cond_update(const char *name)
|
||||
if (!svc_has_cond(svc) || !cond_affects(name, svc->cond))
|
||||
continue;
|
||||
|
||||
_d("%s: match <%s> %s", name ?: "nil", svc->cond, svc->cmd);
|
||||
_d("%s: match <%s> %s(%s)", name ?: "nil", svc->cond, svc->desc, svc->cmd);
|
||||
service_step(svc);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user