]> err.no Git - systemd/commitdiff
fsck: make fsck idempotent
authorLennart Poettering <lennart@poettering.net>
Tue, 19 Oct 2010 21:47:12 +0000 (23:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 19 Oct 2010 21:47:12 +0000 (23:47 +0200)
src/fsck.c

index 0e1508972e99a6f74158d14b875ff9e0b5b8f563..eca2212f476de8dde727097b3f0402e6d4ec4014 100644 (file)
@@ -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";