Add missing show levels switch.
This commit is contained in:
parent
9966a902ab
commit
b0ac71fe2a
@ -219,6 +219,11 @@ rc_status(int argc, char **argv)
|
||||
}
|
||||
goto exit;
|
||||
/* NOTREACHED */
|
||||
case 'l':
|
||||
levels = rc_runlevel_list();
|
||||
TAILQ_FOREACH(l, levels, entries)
|
||||
printf("%s\n", l->value);
|
||||
goto exit;
|
||||
case 'r':
|
||||
runlevel = rc_runlevel_get();
|
||||
printf("%s\n", runlevel);
|
||||
|
Loading…
Reference in New Issue
Block a user