rc-status: comment consistecy

This commit is contained in:
anon 2022-12-24 14:52:36 +01:00 committed by Mike Frysinger
parent 476272be0c
commit b73d326387

View File

@ -297,6 +297,7 @@ int main(int argc, char **argv)
TAILQ_FOREACH(l, levels, entries)
printf("%s\n", l->value);
goto exit;
/* NOTREACHED */
case 'm':
services = rc_services_in_runlevel(NULL);
levels = rc_runlevel_list();
@ -318,6 +319,7 @@ int main(int argc, char **argv)
}
print_services(NULL, services, format);
goto exit;
/* NOTREACHED */
case 'r':
runlevel = rc_runlevel_get();
printf("%s\n", runlevel);
@ -448,6 +450,7 @@ int main(int argc, char **argv)
* be added to the list
*/
unsetenv("RC_SVCNAME");
print_level("Dynamic", "needed/wanted", format);
print_services(NULL, nservices, format);
print_level("Dynamic", "manual", format);