mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
comment tweak
This commit is contained in:
parent
80629e6c4b
commit
b0d098b863
4
inxi
4
inxi
|
@ -2377,9 +2377,9 @@ get_partition_data()
|
|||
}
|
||||
# this has to be nulled for every iteration so it does not retain value from last iteration
|
||||
devBase=""
|
||||
# this is required because below we are subtracting from NF, so it has to be
|
||||
# > 1, actually greater than 4, but that is so unlikely to occur because
|
||||
# this is required because below we are subtracting from NF, so it has to be > 4
|
||||
# the real issue is long file system names that force the wrap of df output: //fileserver/main
|
||||
# but we still need to handle more dynamically long space containing file names, but later.
|
||||
( NF < 5 ) && ( $0 !~ /[0-9]+\%/ ) {
|
||||
# set the dev location here for cases of wrapped output
|
||||
if ( NF == 1 ){
|
||||
|
|
Loading…
Reference in a new issue