From 6e8ebcc7de321bac0ba494365a85a19040654405 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 19 Oct 2010 23:47:12 +0200 Subject: [PATCH] fsck: make fsck idempotent --- src/fsck.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; -- 2.39.5