From: Lennart Poettering Date: Wed, 20 Oct 2010 13:21:05 +0000 (+0200) Subject: mount: require fsck X-Git-Tag: v12~193 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0355825f59d846b6692a92ae221cbbd6678b4d1e;p=systemd mount: require fsck --- diff --git a/src/mount.c b/src/mount.c index 5aa51dec..cef69977 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; }