Retrait de l'affichage "SMART support is enabled"
This commit is contained in:
parent
b0670b8c4d
commit
9fcc81044f
|
@ -19,7 +19,7 @@ done
|
|||
|
||||
for i in "${OUTPUT[@]}" #Selection des disques ayant SMART a Enabled
|
||||
do
|
||||
if smartctl -i $i | grep "SMART support is: Enabled"; then
|
||||
if smartctl -i $i | grep "SMART support is: Enabled" >/dev/null 2>&1; then
|
||||
DISKS+=$i
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue