You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.21-fsck-n...

15 lines
537 B

--- fsck/main.c
+++ fsck/main.c
@@ -421,8 +421,9 @@
(data->log == stdout) ? "stdout" :
(data->log_file_name ? data->log_file_name : "fsck.run"));
- if (!(data->options & OPT_YES) && !user_confirmed (warn_to, "\nDo you want to "
- "run this program?[N/Yes] (note need to type Yes if you do):", "Yes\n"))
+ if (!(data->options & OPT_YES) && !(data->options & OPT_SILENT) &&
+ !user_confirmed (warn_to, "\nDo you want to run this program?[N/Yes] "
+ "(note need to type Yes if you do):", "Yes\n"))
exit (EXIT_USER);
}