summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.20-fsck-n.patch')
-rw-r--r--sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.20-fsck-n.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.20-fsck-n.patch b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.20-fsck-n.patch
new file mode 100644
index 0000000..b29133e
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.20-fsck-n.patch
@@ -0,0 +1,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"))