sysv: properly enumerate rcN.d directory

This commit is contained in:
Lennart Poettering 2010-04-07 16:22:30 +02:00
parent d64b723a9e
commit 5e177ece17

View File

@ -1750,7 +1750,7 @@ static int service_enumerate(Manager *m) {
assert(m);
STRV_FOREACH(p, m->sysvinit_path)
STRV_FOREACH(p, m->sysvrcnd_path)
for (i = 0; i < ELEMENTSOF(rcnd_table); i += 2) {
struct dirent *de;