chiark / gitweb /
mount: require fsck
authorLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2010 13:21:05 +0000 (15:21 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 20 Oct 2010 13:21:05 +0000 (15:21 +0200)
src/mount.c

index 5aa51de..cef6997 100644 (file)
@@ -380,7 +380,7 @@ static int mount_add_device_links(Mount *m) {
 
                 SERVICE(fsck)->fsck_passno = p->passno;
 
-                if ((r = unit_add_two_dependencies(UNIT(m), UNIT_AFTER, UNIT_WANTS, fsck, true)) < 0)
+                if ((r = unit_add_two_dependencies(UNIT(m), UNIT_AFTER, UNIT_REQUIRES, fsck, true)) < 0)
                         return r;
         }