mirror of
https://github.com/smxi/inxi.git
synced 2025-09-04 19:49:11 +00:00
added comment to clarify tests
This commit is contained in:
parent
1b19321e2c
commit
5e8d6f9194
1 changed files with 1 additions and 0 deletions
1
inxi
1
inxi
|
@ -1870,6 +1870,7 @@ get_hdd_data_basic()
|
||||||
getline
|
getline
|
||||||
}
|
}
|
||||||
# if the first item caused a wrap, use one less than standard
|
# if the first item caused a wrap, use one less than standard
|
||||||
|
# testing for the field with % in it, ie: 34%, then go down from there
|
||||||
if ( $4 ~ /.*\%/ ) {
|
if ( $4 ~ /.*\%/ ) {
|
||||||
used += $2
|
used += $2
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue