mirror of
https://github.com/troglobit/finit.git
synced 2026-11-09 16:21:24 +00:00
Slight adjustment, plus 1, to allow 79 char width
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
44f8a2666f
commit
97de3ad0bb
1 file changed
+4
-4
@@ -210,7 +210,7 @@ static int do_cond_show(char *UNUSED(arg))
|
|||||||
glob_t gl;
|
glob_t gl;
|
||||||
|
|
||||||
printf("Asserted conditions (taken from %s)\n", _PATH_COND);
|
printf("Asserted conditions (taken from %s)\n", _PATH_COND);
|
||||||
printf("==============================================================================\n");
|
printf("===============================================================================\n");
|
||||||
|
|
||||||
if (!glob(_PATH_COND "*/*/*", 0, NULL, &gl)) {
|
if (!glob(_PATH_COND "*/*/*", 0, NULL, &gl)) {
|
||||||
size_t i;
|
size_t i;
|
||||||
@@ -231,7 +231,7 @@ static int do_cond_show(char *UNUSED(arg))
|
|||||||
}
|
}
|
||||||
|
|
||||||
printf("PID Service Status Condition (+ on, ~ flux, - off)\n");
|
printf("PID Service Status Condition (+ on, ~ flux, - off)\n");
|
||||||
printf("==============================================================================\n");
|
printf("===============================================================================\n");
|
||||||
|
|
||||||
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
|
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
|
||||||
if (!svc->cond[0])
|
if (!svc->cond[0])
|
||||||
@@ -321,7 +321,7 @@ static int show_status(char *arg)
|
|||||||
|
|
||||||
if (!verbose) {
|
if (!verbose) {
|
||||||
printf("# Status PID Runlevels Service Description\n");
|
printf("# Status PID Runlevels Service Description\n");
|
||||||
printf("==============================================================================\n");
|
printf("===============================================================================\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
|
for (svc = svc_iterator(1); svc; svc = svc_iterator(0)) {
|
||||||
@@ -352,7 +352,7 @@ static int show_status(char *arg)
|
|||||||
else
|
else
|
||||||
name++;
|
name++;
|
||||||
|
|
||||||
printf("%-20s %s\n", name, svc->desc);
|
printf("%-21.21s %s\n", name, svc->desc);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user