From 073f7047d61bd8f85485251c8013b65589cbf9e2 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 17 Sep 2007 11:36:20 +0000 Subject: - report_bug: hide grub password (#33634) --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 3311f87e8..920d319b1 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1059,7 +1059,7 @@ sub report_bug { header("fstab"), cat_("$::prefix/etc/fstab"), header("modprobe.conf"), cat_("$::prefix/etc/modprobe.conf"), header("lilo.conf"), cat_("$::prefix/etc/lilo.conf"), - header("grub: menu.lst"), cat_("$::prefix/boot/grub/menu.lst"), + header("grub: menu.lst"), join('', map { s/^(\s*password)\s+(.*)/$1 xxx/; $_ } cat_("$::prefix/boot/grub/menu.lst")), header("grub: install.sh"), cat_("$::prefix/boot/grub/install.sh"), header("grub: device.map"), cat_("$::prefix/boot/grub/device.map"), header("xorg.conf"), cat_("$::prefix/etc/X11/xorg.conf"), -- cgit v1.2.1