small partitions fs fix

This commit is contained in:
Harald Hope 2018-04-17 14:11:49 -07:00
parent 824dab4b77
commit 0c82230cef
2 changed files with 3 additions and 3 deletions

4
inxi
View file

@ -9749,10 +9749,10 @@ sub create_output {
$dev_type = 'dev'; $dev_type = 'dev';
} }
%part = check_lsblk($row{'dev-base'},0) if (@lsblk && $row{'dev-base'} && $dev_type eq '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'}); $fs = lc($part{'fs'});
} }
elsif (defined $row{'fs'}){ elsif ($row{'fs'}){
$fs = lc($row{'fs'}); $fs = lc($row{'fs'});
} }
else { else {

View file

@ -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. 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 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 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 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. latter is not getting updated and has the wrong version number on it.