Retrait de l'affichage "SMART support is enabled"

This commit is contained in:
John Doe 2021-01-29 18:13:23 +01:00
parent b0670b8c4d
commit 9fcc81044f
1 changed files with 1 additions and 1 deletions

View File

@ -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