summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-06-21 18:13:30 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-06-21 18:13:50 +0200
commite1af7f91d98880295a319a9721dfce0bc6a1f141 (patch)
tree2eb968011a748b6c3d405142e53482364ea995ed /perl-install
parent9bb701c386fcb05068c4c02b372e0c0b754995b3 (diff)
downloaddrakx-e1af7f91d98880295a319a9721dfce0bc6a1f141.tar
drakx-e1af7f91d98880295a319a9721dfce0bc6a1f141.tar.gz
drakx-e1af7f91d98880295a319a9721dfce0bc6a1f141.tar.bz2
drakx-e1af7f91d98880295a319a9721dfce0bc6a1f141.tar.xz
drakx-e1af7f91d98880295a319a9721dfce0bc6a1f141.zip
report_bug: hide grub password
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 14bcd29f2..d9039c846 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1331,7 +1331,7 @@ sub report_bug {
header("grub: install.sh"), cat_("$::prefix/boot/grub/install.sh"),
header("grub: device.map"), cat_("$::prefix/boot/grub/device.map"),
header("grub2: grub"), cat_("$::prefix/etc/default/grub"),
- header("grub2: grub.cfg"), cat_("$::prefix/boot/grub2/grub.cfg"),
+ header("grub2: grub.cfg"), join('', map { s/^(\s*password_pbkdf2)\s+grub.pbkdf2.*/$1 xxx/; $_ } cat_("$::prefix/boot/grub2/grub.cfg")),
header("grub2: install.sh"), cat_("$::prefix/boot/grub2/install.sh"),
header("xorg.conf"), cat_("$::prefix/etc/X11/xorg.conf"),
header("urpmi.cfg"), cat_("$::prefix/etc/urpmi/urpmi.cfg"),