]> err.no Git - systemd/commitdiff
sysv: properly enumerate rcN.d directory
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Apr 2010 14:22:30 +0000 (16:22 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 7 Apr 2010 14:22:30 +0000 (16:22 +0200)
service.c

index 865f84128c69d68c96815ff840f483acaf489b74..fd36886fb11b8326977008d55817222e1c73272c 100644 (file)
--- a/service.c
+++ b/service.c
@@ -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;