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/fsck.c | |
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/fsck.c')
-rw-r--r-- | misc/fsck.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |