mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-25 13:18:06 +07:00
fsck: make fsck idempotent
This commit is contained in:
parent
a9e1f5ec36
commit
6e8ebcc7de
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user