summaryrefslogtreecommitdiff
path: root/src/fsck.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-19 23:47:12 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-19 23:47:12 +0200
commit6e8ebcc7de321bac0ba494365a85a19040654405 (patch)
tree8a3b50b84ead510854692cbe0509d0852a806ae0 /src/fsck.c
parenta9e1f5ec36049dca715f83b2c6fc44a019e2da53 (diff)
fsck: make fsck idempotent
Diffstat (limited to 'src/fsck.c')
-rw-r--r--src/fsck.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fsck.c b/src/fsck.c
index 0e1508972e..eca2212f47 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";