[pve-devel] [PATCH manager] pvereport: tell lsblk to use ascii

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Nov 24 10:55:30 CET 2016


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 at proxmox.com>
---
 PVE/Report.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Report.pm b/PVE/Report.pm
index 0d0eaa8..901fcf8 100644
--- a/PVE/Report.pm
+++ b/PVE/Report.pm
@@ -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'
 }
-- 
2.1.4





More information about the pve-devel mailing list