diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2014-07-17 23:10:28 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2014-07-17 23:10:28 -0500 |
commit | 40f42ced21b1c0c99780b801d28fafd91a858f90 (patch) | |
tree | 955c2e8d178d60bdffcecdaac854b58bf04e6b0b /src/rc | |
parent | 1a1d53335b2e6e3240b738ba1f81de64e552c337 (diff) |
rc-status: fix infinite loop when using stacked runlevels
Remove the recursive call in print_stacked_services which was causing an
infinite loop when using stacked runlevels.
I would like to thank Doug Freed and Jason Zaman for assisting with
tracking this down.
X-Gentoo-Bug: 514972
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=514972
Diffstat (limited to 'src/rc')
-rw-r--r-- | src/rc/rc-status.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c index e38ce11b..62591dae 100644 --- a/src/rc/rc-status.c +++ b/src/rc/rc-status.c @@ -185,7 +185,6 @@ print_stacked_services(const char *runlevel) servicelist = rc_services_in_runlevel(stackedlevel->value); print_services(stackedlevel->value, servicelist); rc_stringlist_free(servicelist); - print_stacked_services(stackedlevel->value); } rc_stringlist_free(stackedlevels); stackedlevels = NULL; |