From b73d3263878fc1991651aa4071dc45d0349ad12c Mon Sep 17 00:00:00 2001 From: anon Date: Sat, 24 Dec 2022 14:52:36 +0100 Subject: rc-status: comment consistecy --- src/rc-status/rc-status.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/rc-status/rc-status.c b/src/rc-status/rc-status.c index 695cbcee..78d5a6af 100644 --- a/src/rc-status/rc-status.c +++ b/src/rc-status/rc-status.c @@ -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); -- cgit v1.2.3