summaryrefslogtreecommitdiff
path: root/src/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-20 15:21:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-20 15:21:05 +0200
commit0355825f59d846b6692a92ae221cbbd6678b4d1e (patch)
treee87fcb758d338e6f8b3c1f42329700a799354e6d /src/mount.c
parent1f5558b4990c683d69e10217f1bf73ecb66ca2d2 (diff)
mount: require fsck
Diffstat (limited to 'src/mount.c')
-rw-r--r--src/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount.c b/src/mount.c
index 5aa51dec53..cef6997726 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -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;
}