Don't include hotplugged services in manual.
This commit is contained in:
parent
7dc9c39503
commit
7086df5664
@ -297,7 +297,8 @@ rc_status(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
TAILQ_FOREACH_SAFE(s, services, entries, t) {
|
TAILQ_FOREACH_SAFE(s, services, entries, t) {
|
||||||
if (rc_stringlist_find(sservices, s->value) ||
|
if (rc_stringlist_find(sservices, s->value) ||
|
||||||
rc_service_state(s->value) & RC_SERVICE_STOPPED)
|
rc_service_state(s->value) &
|
||||||
|
(RC_SERVICE_STOPPED | RC_SERVICE_HOTPLUGGED))
|
||||||
{
|
{
|
||||||
TAILQ_REMOVE(services, s, entries);
|
TAILQ_REMOVE(services, s, entries);
|
||||||
free(s->value);
|
free(s->value);
|
||||||
|
Loading…
Reference in New Issue
Block a user