mirror of
https://github.com/smxi/inxi.git
synced 2025-04-21 17:19:12 +00:00
process starter fix
This commit is contained in:
parent
b9d20bc198
commit
419d6b4b6a
1 changed files with 2 additions and 2 deletions
4
inxi
4
inxi
|
@ -10495,8 +10495,8 @@ sub process_starter {
|
||||||
my ($count, $row10, $row11) = @_;
|
my ($count, $row10, $row11) = @_;
|
||||||
my (@return);
|
my (@return);
|
||||||
# note: [migration/0] would clear with a simple basename
|
# note: [migration/0] would clear with a simple basename
|
||||||
if ($count > 11 && $row11 =~ /^\//){
|
if ($count > 11 && ($row11 =~ /^\// || $row11 =~ /^[^\[]+\// )){
|
||||||
$row11 =~ s/^\/.*\///;
|
$row11 =~ s/^\/?.*\///;
|
||||||
$return[0] = $row11;
|
$return[0] = $row11;
|
||||||
$row10 =~ s/^\/.*\///;
|
$row10 =~ s/^\/.*\///;
|
||||||
$return[1] = $row10;
|
$return[1] = $row10;
|
||||||
|
|
Loading…
Add table
Reference in a new issue