summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-02-23 21:59:08 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-02-23 22:14:52 +0100
commit072852257446554e23aa1118a452d069ee2c166a (patch)
tree1fcd0b17d950bff116c678e09e7e9713a9b616e4
parentfe9c511423648729753c9967cf636e33fb7a7731 (diff)
downloaddrakx-072852257446554e23aa1118a452d069ee2c166a.tar
drakx-072852257446554e23aa1118a452d069ee2c166a.tar.gz
drakx-072852257446554e23aa1118a452d069ee2c166a.tar.bz2
drakx-072852257446554e23aa1118a452d069ee2c166a.tar.xz
drakx-072852257446554e23aa1118a452d069ee2c166a.zip
restrict fdisk -l output to usefull disks
commit 325ab8add83e19c9dacd1b10ef6791441660f63a only handled "fdisk before/after", this trims the "fdisk" section too
-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 278abe10e..db190f19b 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -1361,7 +1361,7 @@ sub report_bug {
header("lspci"), detect_devices::stringlist(),
header("pci_devices"), cat_("/proc/bus/pci/devices"),
header("dmidecode"), arch() =~ /86/ ? `dmidecode` : (),
- header("fdisk"), `fdisk -l`,
+ header("fdisk"), fdisk(),
header("scsi"), cat_("/proc/scsi/scsi"),
header("/sys/bus/scsi/devices"), -d '/sys/bus/scsi/devices' ? `ls -l /sys/bus/scsi/devices` : (),
header("lsmod"), cat_("/proc/modules"),