fix(darwin): disable viewer_param_check() for darwin

This commit is contained in:
Martin Wimpress 2024-05-15 01:04:38 +01:00 committed by Martin Wimpress
parent 63409682f2
commit c5b96cfcd5
1 changed files with 4 additions and 0 deletions

View File

@ -1645,6 +1645,10 @@ function tpm_param_check() {
}
function viewer_param_check() {
if [ ${DARWIN} -eq 1 ]; then
return
fi
if [ "${viewer}" != "none" ] && [ "${viewer}" != "spicy" ] && [ "${viewer}" != "remote-viewer" ]; then
echo "ERROR! Requested viewer '${viewer}' is not recognised."
exit 1