diff options
Diffstat (limited to 'src/rc/rc-update.c')
-rw-r--r-- | src/rc/rc-update.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rc/rc-update.c b/src/rc/rc-update.c index 5517c69a..40dfb508 100644 --- a/src/rc/rc-update.c +++ b/src/rc/rc-update.c @@ -164,6 +164,7 @@ show(RC_STRINGLIST *runlevels, bool verbose) char buffer[PATH_MAX]; size_t l; + rc_stringlist_sort(&services); TAILQ_FOREACH(service, services, entries) { in = rc_stringlist_new(); inone = false; @@ -299,6 +300,7 @@ rc_update(int argc, char **argv) runlevels = rc_runlevel_list(); } + rc_stringlist_sort(&runlevels); show (runlevels, verbose); } else { if (!service) |