mirror of
https://github.com/troglobit/finit.git
synced 2026-11-13 17:00:16 +00:00
Use svc_ident() for more cases
- Drop basename() of svc->cmd from remaining code - Replace uses of svc->cmd with svc_ident(svc) - Use svc_ident() as default log tag Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
467f1cca81
commit
fdbd25c1b5
4 files changed
+29
-26
No files matched your search
@@ -187,7 +187,7 @@ restart:
|
||||
*/
|
||||
svc = svc_stop_completed();
|
||||
if (svc) {
|
||||
_d("Waiting to collect %s(%d) ...", svc->cmd, svc->pid);
|
||||
_d("Waiting to collect %s, cmd %s(%d) ...", svc_ident(svc, NULL, 0), svc->cmd, svc->pid);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -240,7 +240,7 @@ restart:
|
||||
*/
|
||||
svc = svc_stop_completed();
|
||||
if (svc) {
|
||||
_d("Waiting to collect %s(%d) ...", svc->cmd, svc->pid);
|
||||
_d("Waiting to collect %s, cmd %s(%d) ...", svc_ident(svc, NULL, 0), svc->cmd, svc->pid);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user