mirror of
https://github.com/smxi/inxi.git
synced 2025-01-31 10:02:18 +00:00
branch one, try 7
This commit is contained in:
parent
af71683176
commit
9beed8b646
4
inxi
4
inxi
|
@ -3,7 +3,7 @@
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### Version: 2.1.11
|
#### Version: 2.1.11
|
||||||
#### Date: 2014-03-26
|
#### Date: 2014-03-26
|
||||||
#### Patch Number: 06-b1
|
#### Patch Number: 07-b1
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
########################################################################
|
########################################################################
|
||||||
|
@ -7734,7 +7734,7 @@ get_raid_component_data_bsd()
|
||||||
while ( getline && !/^$/ ) {
|
while ( getline && !/^$/ ) {
|
||||||
sub( /ONLINE/, "", $2 )
|
sub( /ONLINE/, "", $2 )
|
||||||
# raid level is the second item in the output
|
# raid level is the second item in the output
|
||||||
if ( $1 != "" ) {
|
if ( $1 != "" && raidLevel == "" ) {
|
||||||
raidLevel="zfs " $1
|
raidLevel="zfs " $1
|
||||||
getline
|
getline
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue