From a5cc3d4706e85f54beb3fb7d5ed4470aaa6f1149 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 27 Mar 2014 20:51:00 +0000 Subject: [PATCH] branch one, I think now zfs raid will work --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 4acb3ca..c64fc81 100755 --- a/inxi +++ b/inxi @@ -3,7 +3,7 @@ #### Script Name: inxi #### Version: 2.1.11 #### Date: 2014-03-26 -#### Patch Number: 09-b1 +#### Patch Number: 10-b1 ######################################################################## #### SPECIAL THANKS ######################################################################## @@ -7732,12 +7732,12 @@ get_raid_component_data_bsd() } $1 ~ /^'$device'$/ { while ( getline && !/^$/ ) { - sub( /ONLINE/, "", $2 ) # raid level is the second item in the output if ( $1 != "" && raidLevel == "" ) { raidLevel="zfs " $1 getline } + sub( /ONLINE/, "", $2 ) components=components separator $1 separator $2 separator=" " }