aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rc-status/rc-status.c3
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);