From 0c82230ceff968c2314eddee9206016f50de88a1 Mon Sep 17 00:00:00 2001 From: Harald Hope Date: Tue, 17 Apr 2018 14:11:49 -0700 Subject: [PATCH] small partitions fs fix --- inxi | 4 ++-- inxi.changelog | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/inxi b/inxi index 34a2c2f..e05bad0 100755 --- a/inxi +++ b/inxi @@ -9749,10 +9749,10 @@ sub create_output { $dev_type = 'dev'; } %part = check_lsblk($row{'dev-base'},0) if (@lsblk && $row{'dev-base'} && $dev_type eq 'dev'); - if (%part){ + if (%part && $part{'fs'}){ $fs = lc($part{'fs'}); } - elsif (defined $row{'fs'}){ + elsif ($row{'fs'}){ $fs = lc($row{'fs'}); } else { diff --git a/inxi.changelog b/inxi.changelog index 923aab8..c6021d0 100644 --- a/inxi.changelog +++ b/inxi.changelog @@ -20,7 +20,7 @@ basically all of the time for GNU/Linux on Intel/AMD, most of the time for ARM. When it doesn't know it does not guess, and shows N/A. 6. bsd fix for usb, was running numeric action on string value 7. fixed stderr tool for program_version, now it's hard-coded in program_values -which removes an unneded regex search for every program version test. +which removes an unneeded regex search for every program version test. 8. Mate detection, switched to using mate-sesssion instead of mate-about, the latter is not getting updated and has the wrong version number on it.