mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
added comment to clarify tests
This commit is contained in:
parent
1b19321e2c
commit
5e8d6f9194
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…
Reference in a new issue