Closed swolosin closed 9 months ago
I am having this same problem
Hey @swolosin @TheRealConJon thanks for opening this issue, @robjschroeder and I were able to reproduce the issue and then modify the script to resolve.
On line 248 we changed from this:
if [ "${useSwiftDialog}" == "true" ]; then
To this:
if [[ "${useSwiftDialog}" == "true" ]]; then
Let us know if the latest version still throws an error.
Upon executing version 2.0.1 of the User Registration Prompt.zsh, the logs display the following output.
In the terminal, the logs remain consistent, but there is an additional error near the bottom.
The script is executed through a Jamf Pro <Version 11.1.1> Policy, and the script remains unchanged with the necessary parameters specified. The parameters are as follows: #4 /private/var/log/com.company.log, #5 true (I have also tested leaving it blank), #6 true (I have also tested leaving it blank), and #7 with the correct policy ID. Do you have any insights into what might be causing this problem?
I have executed the script as a command file to remove the Jamf Pro component, but the same error persists.
Picture of the Jamf Pro Policy