small syntax bug

This commit is contained in:
Francois B 2018-05-26 20:28:26 +02:00
parent ae2511e0a3
commit df59c133b7

View file

@ -393,7 +393,7 @@ function updateMicrocode () {
elif [ "$amd" -gt "0" ]; then elif [ "$amd" -gt "0" ]; then
installPackage apt amd64-microcode installPackage apt amd64-microcode
printf "[INFO] Microcode updated from "$oldMicrocode" version to "$newMicrocode" version" printf "[INFO] Microcode updated from "$oldMicrocode" version to "$newMicrocode" version"
elif else
printf "[INFO] No Intel/AMD CPU found" printf "[INFO] No Intel/AMD CPU found"
fi fi
newMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1` newMicrocode=`cat /proc/cpuinfo | grep -i --color microcode -m 1`