diff options
author | Theodore Ts'o <tytso@mit.edu> | 1999-11-04 22:34:43 +0000 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 1999-11-04 22:34:43 +0000 |
commit | 6a35ffa0ed7ca24436bdab1807b5ae9d1845946a (patch) | |
tree | eceef1ea69e84508e248cc68c46877b482214f42 /misc | |
parent | b3ee3744c452c412b53325b7aadaa386106570b3 (diff) | |
download | e2fsprogs-6a35ffa0ed7ca24436bdab1807b5ae9d1845946a.tar.gz |
ChangeLog, fsck.c:
fsck.c (main): Move setting of the interactive flag to before the call
to check_all(), so that people who try to use fsck -As can do so
interactively.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/ChangeLog | 6 | ||||
-rw-r--r-- | misc/fsck.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/misc/ChangeLog b/misc/ChangeLog index 462c6326..c49b15d4 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,9 @@ +1999-11-04 <tytso@valinux.com> + + * fsck.c (main): Move setting of the interactive flag to before + the call to check_all(), so that people who try to use + fsck -As can do so interactively. + 1999-10-26 <tytso@valinux.com> * Release of E2fsprogs 1.17 diff --git a/misc/fsck.c b/misc/fsck.c index 6fa84074..0a616a51 100644 --- a/misc/fsck.c +++ b/misc/fsck.c @@ -952,13 +952,13 @@ int main(int argc, char *argv[]) fsck_path = string_copy(fsck_prefix_path); } + if ((num_devices == 1) || (serialize)) + interactive = 1; + /* If -A was specified ("check all"), do that! */ if (doall) return check_all(); - if ((num_devices == 1) || (serialize)) - interactive = 1; - for (i = 0 ; i < num_devices; i++) { fsck_device(devices[i], interactive); if (serialize) { |