The current code check for 2.3.2 appears to check whether the Hot Corners are managed, but not what value the corner is set to.
if [[ "${prefIsManaged}" != "6" ]] || [[ "${prefIsManaged2}" != "6" ]] || [[ "${prefIsManaged3}" != "6" ]] || [[ "${prefIsManaged4}" != "6" ]]; then
Should be replaced with
if [[ "${prefValueAsUser}" != "6" ]] || [[ "${prefValueAsUser2}" != "6" ]] || [[ "${prefValueAsUser3}" != "6" ]] || [[ "${prefValueAsUser4}" != "6" ]]; then
The current code check for 2.3.2 appears to check whether the Hot Corners are managed, but not what value the corner is set to.
if [[ "${prefIsManaged}" != "6" ]] || [[ "${prefIsManaged2}" != "6" ]] || [[ "${prefIsManaged3}" != "6" ]] || [[ "${prefIsManaged4}" != "6" ]]; thenShould be replaced with
if [[ "${prefValueAsUser}" != "6" ]] || [[ "${prefValueAsUser2}" != "6" ]] || [[ "${prefValueAsUser3}" != "6" ]] || [[ "${prefValueAsUser4}" != "6" ]]; then