mirror of
https://github.com/troglobit/finit.git
synced 2026-10-12 10:12:32 +00:00
Minor, use svc_ident() instead of incomplete svc->name in debug logs
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
+1
-1
@@ -2582,7 +2582,7 @@ restart:
|
||||
break;
|
||||
|
||||
case COND_OFF:
|
||||
dbg("Condition for %s is off, sending SIGCONT + SIGTERM", svc->name);
|
||||
dbg("Condition for %s is off, sending SIGCONT + SIGTERM", svc_ident(svc, NULL, 0));
|
||||
kill(svc->pid, SIGCONT);
|
||||
service_stop(svc);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user