summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.19-fsck-n.patch')
-rw-r--r--sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.19-fsck-n.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.19-fsck-n.patch b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.19-fsck-n.patch
new file mode 100644
index 000000000000..2146c94d4f36
--- /dev/null
+++ b/sys-fs/reiserfsprogs/files/reiserfsprogs-3.6.19-fsck-n.patch
@@ -0,0 +1,12 @@
+diff -ur reiserfsprogs-3.6.19.orig/fsck/main.c reiserfsprogs-3.6.19/fsck/main.c
+--- reiserfsprogs-3.6.19.orig/fsck/main.c 2004-10-07 15:04:08.000000000 +0100
++++ reiserfsprogs-3.6.19/fsck/main.c 2007-05-02 16:05:08.000000000 +0100
+@@ -416,7 +416,7 @@
+ (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 "
++ 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);
+ }