commit 4f5ef667d6e7d4d984616c509e1278de53f48d97 Author: Alexander V Vershilov Date: Sun Jul 14 10:55:24 2013 +0400 Fix error when not all services were added to status list Should fix bug #409787 diff --git a/src/rc/rc-status.c b/src/rc/rc-status.c index f096851..12272ce 100644 --- a/src/rc/rc-status.c +++ b/src/rc/rc-status.c @@ -351,6 +351,9 @@ rc_status(int argc, char **argv) rc_stringlist_free(tmp); } l->value = p; + // we are unsetting RC_SVCNAME because last loaded service + // wount be added to list + unsetenv(RC_SVCNAME); print_level("Dynamic", "needed"); print_services(NULL, nservices); print_level("Dynamic", "manual");