diff options
author | anon <anon@anon.anon> | 2022-12-24 14:52:36 +0100 |
---|---|---|
committer | Mike Frysinger <vapier@gmail.com> | 2023-02-15 22:51:40 -0500 |
commit | b73d3263878fc1991651aa4071dc45d0349ad12c (patch) | |
tree | ad1254ea4496bfe9d1da87081941dab8ede90c10 /src/rc-status/rc-status.c | |
parent | 476272be0ce404b211b1558c4d4aa6c5b4ff7344 (diff) |
rc-status: comment consistecy
Diffstat (limited to 'src/rc-status/rc-status.c')
-rw-r--r-- | src/rc-status/rc-status.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |