Correction création ARRAY_TEMPS

This commit is contained in:
John Doe 2021-01-30 16:31:13 +01:00
parent 9e47f7057d
commit 9f4a66216b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ do
DUREE_TEST="$j"
fi
done
ARRAY_TEMPS+=$DUREE_TEST
ARRAY_TEMPS+=($DUREE_TEST)
/usr/sbin/smartctl -t long "$i" > /dev/null 2>&1
MODEL=($(/usr/sbin/smartctl -i $i | grep "Device Model:" | sed "s/Device Model: //g"))
echo "Le selftest pour le disque ${MODEL[@]} prendra $DUREE_TEST minutes."