From b0ac71fe2aea81ef37a35016630198f38af2d662 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Fri, 24 Apr 2009 10:23:49 +0000 Subject: [PATCH] Add missing show levels switch. --- src/rc/rc-status.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c index 320b92c8..b4b3bdbf 100644 --- a/src/rc/rc-status.c +++ b/src/rc/rc-status.c @@ -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);