mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
comment fix
This commit is contained in:
parent
778ab41d79
commit
969bac7f8b
2
inxi
2
inxi
|
@ -2381,7 +2381,7 @@ get_partition_data()
|
||||||
# > 1, actually greater than 4, but that is so unlikely to occur because
|
# > 1, actually greater than 4, but that is so unlikely to occur because
|
||||||
# the real issue is long file system names that force the wrap of df output: //fileserver/main
|
# the real issue is long file system names that force the wrap of df output: //fileserver/main
|
||||||
( NF < 5 ) && ( $0 !~ /[0-9]+\%/ ) {
|
( NF < 5 ) && ( $0 !~ /[0-9]+\%/ ) {
|
||||||
# set the mount point here for cases of wrapped output
|
# set the dev location here for cases of wrapped output
|
||||||
if ( NF == 1 ){
|
if ( NF == 1 ){
|
||||||
devBase=gensub( /^(\/dev\/)(.+)$/, "\\2", 1, $1 )
|
devBase=gensub( /^(\/dev\/)(.+)$/, "\\2", 1, $1 )
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue