From: Lennart Poettering Date: Tue, 19 Oct 2010 21:47:12 +0000 (+0200) Subject: fsck: make fsck idempotent X-Git-Tag: v12~202 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e8ebcc7de321bac0ba494365a85a19040654405;p=systemd fsck: make fsck idempotent --- diff --git a/src/fsck.c b/src/fsck.c index 0e150897..eca2212f 100644 --- a/src/fsck.c +++ b/src/fsck.c @@ -135,7 +135,7 @@ static void test_files(void) { } int main(int argc, char *argv[]) { - const char *cmdline[7]; + const char *cmdline[8]; int i = 0, r = EXIT_FAILURE, q; pid_t pid; siginfo_t status; @@ -194,6 +194,7 @@ int main(int argc, char *argv[]) { cmdline[i++] = "-a"; cmdline[i++] = "-T"; cmdline[i++] = "-C"; + cmdline[i++] = "-M"; if (arg_force) cmdline[i++] = "-f";