]> err.no Git - systemd/commitdiff
service: sysv_chkconfig_order() actually has nothing to do with chkconfig anymore...
authorLennart Poettering <lennart@poettering.net>
Wed, 19 May 2010 01:44:37 +0000 (03:44 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 19 May 2010 01:44:37 +0000 (03:44 +0200)
src/service.c

index dbef725ce65645a0a29d2e2027f6020145a0ebf3..2515cd305f2e7686a78b54daf329cb9572a9bdd3 100644 (file)
@@ -225,7 +225,7 @@ finish:
         return 1;
 }
 
-static int sysv_chkconfig_order(Service *s) {
+static int sysv_fix_order(Service *s) {
         Meta *other;
         int r;
 
@@ -789,7 +789,7 @@ static int service_load(Unit *u) {
                 if ((r = unit_add_default_cgroup(u)) < 0)
                         return r;
 
-                if ((r = sysv_chkconfig_order(s)) < 0)
+                if ((r = sysv_fix_order(s)) < 0)
                         return r;
 
                 if (s->bus_name) {