summaryrefslogtreecommitdiff
path: root/misc/fsck.c
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2000-01-18 16:30:27 +0000
committerTheodore Ts'o <tytso@mit.edu>2000-01-18 16:30:27 +0000
commit3cb7784f307db3f32b008bacbe87fe385f8543a7 (patch)
treedf5dfea32990e16bf42b228522b85affb4988eee /misc/fsck.c
parent7b352e35ad51c15204aa524e03b9c5e4c80d64d7 (diff)
downloade2fsprogs-3cb7784f307db3f32b008bacbe87fe385f8543a7.tar.gz
ChangeLog, Makefile.in, fsck.c:
Really fix the bug where "fsck -As" will actually allow interactive fsck's. (For those people who like to do interactive fsck's in the /etc/rc scripts!?!)
Diffstat (limited to 'misc/fsck.c')
-rw-r--r--misc/fsck.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc/fsck.c b/misc/fsck.c
index 0a616a51..349a74cd 100644
--- a/misc/fsck.c
+++ b/misc/fsck.c
@@ -732,7 +732,7 @@ static int check_all(NOARGS)
break;
}
if (fs && !skip_root && !ignore(fs)) {
- fsck_device(fs->device, 0);
+ fsck_device(fs->device, 1);
fs->flags |= FLAG_DONE;
status |= wait_all();
if (status > EXIT_NONDESTRUCT)
@@ -777,13 +777,12 @@ static int check_all(NOARGS)
/*
* Spawn off the fsck process
*/
- fsck_device(fs->device, 0);
+ fsck_device(fs->device, serialize);
fs->flags |= FLAG_DONE;
if (serialize) {
pass_done = 0;
break; /* Only do one filesystem at a time */
-
}
}
if (verbose > 1)