mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 08:11:39 +00:00
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:
parent
2801b1d1e2
commit
f3f7dec169
2
inxi
2
inxi
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue