diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-02-23 21:59:08 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-02-23 22:14:52 +0100 |
commit | 072852257446554e23aa1118a452d069ee2c166a (patch) | |
tree | 1fcd0b17d950bff116c678e09e7e9713a9b616e4 /perl-install/any.pm | |
parent | fe9c511423648729753c9967cf636e33fb7a7731 (diff) | |
download | drakx-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
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r-- | perl-install/any.pm | 2 |
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"), |