diff --git a/etc/install-respeaker-drivers.sh b/etc/install-respeaker-drivers.sh index 8a0169f..4e7ff22 100755 --- a/etc/install-respeaker-drivers.sh +++ b/etc/install-respeaker-drivers.sh @@ -46,7 +46,7 @@ marker='0.0.0' threads="$(getconf _NPROCESSORS_ONLN)" memory="$(LANG=C free -m|awk '/^Mem:/{print $2}')" -if [ "$memory" -le 512 ] && [ "$threads" -gt 2 ]; then +if [ "${memory}" -le 512 ] && [ "${threads}" -gt 2 ]; then threads=2 fi