Annotation of /trunk/reiserfsprogs/patches/reiserfsprogs-3.6.21-fsck-n.patch
Parent Directory | Revision Log
Revision 784 -
(hide annotations)
(download)
Tue May 5 16:37:38 2009 UTC (15 years, 4 months ago) by niro
File size: 537 byte(s)
Tue May 5 16:37:38 2009 UTC (15 years, 4 months ago) by niro
File size: 537 byte(s)
-fsck -n -f patch for 3.6.21
1 | niro | 784 | --- fsck/main.c |
2 | +++ fsck/main.c | ||
3 | @@ -421,8 +421,9 @@ | ||
4 | (data->log == stdout) ? "stdout" : | ||
5 | (data->log_file_name ? data->log_file_name : "fsck.run")); | ||
6 | |||
7 | - if (!(data->options & OPT_YES) && !user_confirmed (warn_to, "\nDo you want to " | ||
8 | - "run this program?[N/Yes] (note need to type Yes if you do):", "Yes\n")) | ||
9 | + if (!(data->options & OPT_YES) && !(data->options & OPT_SILENT) && | ||
10 | + !user_confirmed (warn_to, "\nDo you want to run this program?[N/Yes] " | ||
11 | + "(note need to type Yes if you do):", "Yes\n")) | ||
12 | exit (EXIT_USER); | ||
13 | } | ||
14 |