bug fix, strange mount point name tripped output errors for partitions,

that name exposed some weak/greedy regex that didn't do what it was intended
to do in such cases. Solution was to tighten the regex and make it much
more explicit.
This commit is contained in:
Harald Hope 2022-04-25 22:32:57 -07:00
parent 2801b1d1e2
commit f3f7dec169

2
inxi
View file

@ -17889,7 +17889,7 @@ sub set_partitions {
}
else {
my $file;
# $file = "$ENV{'HOME'}/bin/scripts/inxi/data/df/df-kTP-cygwin-1.txt";
# $file = "$ENV{'HOME'}/bin/scripts/inxi/data/df/df-kTP-cygwin-1.txt";
$file = "$ENV{'HOME'}/bin/scripts/inxi/data/df/df-kT-wrapped-1.txt";
@partitions_working = main::reader($file);
}