From c4be977f5c17351fd7d92899d3de076fca2c0980 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Wed, 27 Feb 2013 21:16:20 +0000 Subject: [PATCH] bug fix --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 6aadb11..063e5e1 100755 --- a/inxi +++ b/inxi @@ -9487,11 +9487,11 @@ print_raid_data() fi # NOTE: for bsd zfs, states are: ONLINE,DEGRADED,OFFLINE (at least) if [[ -n $( grep -Ei '(F|DEGRADED)' <<< $component ) ]];then - component=$( sed -e 's/(F)//' -e 's/F//' -e 's/DEGRADED//i' <<< $component ) + component=$( sed -e 's/(F)//' -e 's/F//' -e 's/DEGRADED//' <<< $component ) failed="$failed $component" component='' elif [[ -n $( grep -Ei '(S|OFFLINE)' <<< $component ) ]];then - component=$( sed -e 's/(S)//' -e 's/S//' -e 's/OFFLINE//i' <<< $component ) + component=$( sed -e 's/(S)//' -e 's/S//' -e 's/OFFLINE//' <<< $component ) spare="$spare $component" component='' else