]> git.proxmox.com Git - pve-manager.git/commitdiff
pvereport: tell lsblk to use ascii
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 24 Nov 2016 09:55:30 +0000 (10:55 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 30 Nov 2016 05:11:39 +0000 (06:11 +0100)
The UTF-8 characters it uses otherwise may be not handled correctly
when some users sent the report to us.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Report.pm

index 0d0eaa8aa98f5301a23e25161adf3113ea5a3126..901fcf851870344dd68372446cb522d39b556f1a 100644 (file)
@@ -20,7 +20,7 @@ if (system('command -v zfs > /dev/null 2>&1') == 0) {
     push @volumes, 'zpool status', 'zfs list'
 }
 
-my @disks = ('lsblk');
+my @disks = ('lsblk --ascii');
 if (system('command -v multipath > /dev/null 2>&1') == 0) {
     push @disks, 'multipath -ll', 'multipath -v3'
 }