Skip to content

Commit

Permalink
suggestions by Mike
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Hansen <[email protected]>
  • Loading branch information
tannisroot and synesthesiam authored Jun 26, 2024
1 parent 2b39450 commit a80c772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion etc/install-respeaker-drivers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a80c772

Please sign in to comment.