]> err.no Git - systemd/commitdiff
swap: there's no reason not order swap after sysinit, so drop it
authorLennart Poettering <lennart@poettering.net>
Wed, 27 Oct 2010 23:30:13 +0000 (01:30 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 27 Oct 2010 23:30:13 +0000 (01:30 +0200)
src/swap.c

index 4404dc0e7111f8dfc0e100af916779c29536f561..078ad9fbbffc470469e42282ae7aabd532467ac6 100644 (file)
@@ -211,9 +211,6 @@ static int swap_add_default_dependencies(Swap *s) {
 
         if (s->meta.manager->running_as == MANAGER_SYSTEM) {
 
-                if ((r = unit_add_dependency_by_name(UNIT(s), UNIT_AFTER, SPECIAL_SYSINIT_TARGET, NULL, true)) < 0)
-                        return r;
-
                 if ((r = unit_add_two_dependencies_by_name(UNIT(s), UNIT_BEFORE, UNIT_CONFLICTED_BY, SPECIAL_UMOUNT_TARGET, NULL, true)) < 0)
                         return r;
         }