blob: b29133ee65b463d54c179ffbef90e3e2320eb1de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ur a/utils/fsck/main.c b/utils/fsck/main.c
--- a/utils/fsck/main.c 2006-03-28 13:40:23.000000000 +0100
+++ b/utils/fsck/main.c 2007-08-02 10:13:53.000000000 +0100
@@ -421,7 +421,7 @@
(data->log == stdout) ? "stdout" :
(data->log_file_name ? data->log_file_name : "fsck.run"));
- if (!(data->options & OPT_YES)) {
+ if (!(data->options & OPT_YES) && !(data->options & OPT_SILENT)) {
if (!util_user_confirmed(warn_to, "\nDo you want to run this "
"program?[N/Yes] (note need to type "
"Yes if you do):", "Yes\n"))
|