Magellan Linux

Contents of /trunk/reiserfsprogs/patches/reiserfsprogs-3.6.21-fsck-n.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 784 - (show annotations) (download)
Tue May 5 16:37:38 2009 UTC (15 years ago) by niro
File size: 537 byte(s)
-fsck -n -f patch for 3.6.21

1 --- 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