initctl: add job number to "show foo"

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2021-02-11 22:32:37 +01:00
parent 72a0ba6a55
commit 27bd9423bc
+1
View File
@@ -450,6 +450,7 @@ static int show_status(char *arg)
if (!svc)
return 1;
printf("Job : %d\n", svc->job);
printf("Service : %s\n", svc->cmd);
printf("Description : %s\n", svc->desc);
printf("Identity : %s\n", svc_ident(svc, ident, sizeof(ident)));