chiark / gitweb /
execute: try to suppress PR_SET_SECUREBITS if unnecessary
[elogind.git] / service.c
index ca6e04500cd7215999d04b2030110c09aac42690..a693c3339249ed6bd09d23988bdcba0ae433fc93 100644 (file)
--- a/service.c
+++ b/service.c
@@ -1658,11 +1658,6 @@ static int service_enumerate(Manager *m) {
                                 if ((r = manager_load_unit(m, name, &service)) < 0)
                                         goto finish;
 
-                                /* Don't allow that non-SysV services
-                                 * are started via rcN.d/ links. */
-                                if (!SERVICE(service)->sysv_path)
-                                        continue;
-
                                 if ((r = manager_load_unit(m, rcnd[i+1], &runlevel)) < 0)
                                         goto finish;