mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
initctl: add job number to "show foo"
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -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)));
|
||||
|
||||
Reference in New Issue
Block a user