mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
initctl: add job number to "show foo"
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
72a0ba6a55
commit
27bd9423bc
1 file changed
+1
@@ -450,6 +450,7 @@ static int show_status(char *arg)
|
|||||||
if (!svc)
|
if (!svc)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
|
printf("Job : %d\n", svc->job);
|
||||||
printf("Service : %s\n", svc->cmd);
|
printf("Service : %s\n", svc->cmd);
|
||||||
printf("Description : %s\n", svc->desc);
|
printf("Description : %s\n", svc->desc);
|
||||||
printf("Identity : %s\n", svc_ident(svc, ident, sizeof(ident)));
|
printf("Identity : %s\n", svc_ident(svc, ident, sizeof(ident)));
|
||||||
|
|||||||
Reference in new issue
Block a user