process starter fix

This commit is contained in:
Harald Hope 2018-05-06 21:16:59 -07:00
parent b9d20bc198
commit 419d6b4b6a

4
inxi
View file

@ -10495,8 +10495,8 @@ sub process_starter {
my ($count, $row10, $row11) = @_;
my (@return);
# note: [migration/0] would clear with a simple basename
if ($count > 11 && $row11 =~ /^\//){
$row11 =~ s/^\/.*\///;
if ($count > 11 && ($row11 =~ /^\// || $row11 =~ /^[^\[]+\// )){
$row11 =~ s/^\/?.*\///;
$return[0] = $row11;
$row10 =~ s/^\/.*\///;
$return[1] = $row10;