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-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
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) {